Skip to content

Commit

Permalink
feat: use cardano-configs
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <[email protected]>
  • Loading branch information
wolf31o2 committed May 23, 2024
1 parent 84eb229 commit 1ee8c2b
Show file tree
Hide file tree
Showing 30 changed files with 3 additions and 17,071 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,17 @@ RUN echo "Building ${DBSYNC_REF}..." \
&& rm -rf /code/cardano-db-sync/dist-newstyle/ \
&& rm -rf /root/.cabal/store/ghc-${GHC_VERSION}

FROM ghcr.io/blinklabs-io/cardano-configs:20240515-2 as cardano-configs

FROM debian:bookworm-slim as cardano-db-sync
ENV LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
ENV PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
COPY --from=cardano-db-sync-build /usr/local/lib/ /usr/local/lib/
COPY --from=cardano-db-sync-build /usr/local/include/ /usr/local/include/
COPY --from=cardano-db-sync-build /root/.local/bin/cardano-* /code/cardano-db-sync/scripts/postgresql-setup.sh /usr/local/bin/
COPY --from=cardano-db-sync-build /code/cardano-db-sync/schema/ /opt/cardano/schema/
COPY --from=cardano-configs /config/ /opt/cardano/config/
COPY bin/ /bin/
COPY config/ /opt/cardano/config/
RUN apt-get update -y && \
apt-get install -y \
libffi8 \
Expand Down
196 changes: 0 additions & 196 deletions config/mainnet/alonzo-genesis.json

This file was deleted.

Loading

0 comments on commit 1ee8c2b

Please sign in to comment.