Skip to content

Commit 4d5a153

Browse files
authored
feat: use cardano-configs (#55)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 84eb229 commit 4d5a153

30 files changed

+3
-17071
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,17 @@ RUN echo "Building ${DBSYNC_REF}..." \
2424
&& rm -rf /code/cardano-db-sync/dist-newstyle/ \
2525
&& rm -rf /root/.cabal/store/ghc-${GHC_VERSION}
2626

27+
FROM ghcr.io/blinklabs-io/cardano-configs:20240515-2 as cardano-configs
28+
2729
FROM debian:bookworm-slim as cardano-db-sync
2830
ENV LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
2931
ENV PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
3032
COPY --from=cardano-db-sync-build /usr/local/lib/ /usr/local/lib/
3133
COPY --from=cardano-db-sync-build /usr/local/include/ /usr/local/include/
3234
COPY --from=cardano-db-sync-build /root/.local/bin/cardano-* /code/cardano-db-sync/scripts/postgresql-setup.sh /usr/local/bin/
3335
COPY --from=cardano-db-sync-build /code/cardano-db-sync/schema/ /opt/cardano/schema/
36+
COPY --from=cardano-configs /config/ /opt/cardano/config/
3437
COPY bin/ /bin/
35-
COPY config/ /opt/cardano/config/
3638
RUN apt-get update -y && \
3739
apt-get install -y \
3840
libffi8 \

config/mainnet/alonzo-genesis.json

-196
This file was deleted.

0 commit comments

Comments
 (0)