Skip to content

Commit

Permalink
feat: sanchonet
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
  • Loading branch information
wolf31o2 committed Apr 27, 2024
1 parent fbd47d2 commit deb0de1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
@@ -1,16 +1,17 @@
FROM ghcr.io/blinklabs-io/haskell:8.10.7-3.6.2.0-4 as cardano-db-sync-build
FROM ghcr.io/blinklabs-io/haskell:9.6.3-3.10.2.0-1 as cardano-db-sync-build
RUN apt-get update && apt-get install -y libpq-dev
# Install cardano-db-sync
ARG DBSYNC_VERSION=13.1.1.3
ARG DBSYNC_VERSION=13.2.0.1
ENV DBSYNC_VERSION=${DBSYNC_VERSION}
ENV DBTOOL_VERSION=${DBTOOL_VERSION}
RUN echo "Building tags/${DBSYNC_VERSION}..." \
&& echo tags/${DBSYNC_VERSION} > /CARDANO_BRANCH \
ARG DBSYNC_REF=tags/sancho-4-2-1
ENV DBSYNC_REF=${DBSYNC_REF}
RUN echo "Building ${DBSYNC_REF}..." \
&& echo ${DBSYNC_REF} > /CARDANO_DB_SYNC_REF \
&& git clone https://github.com/input-output-hk/cardano-db-sync.git \
&& cd cardano-db-sync\
&& git fetch --all --recurse-submodules --tags \
&& git tag \
&& git checkout tags/${DBSYNC_VERSION} \
&& git checkout ${DBSYNC_8REF} \
&& cabal update \
&& cabal configure --with-compiler=ghc-${GHC_VERSION} \
&& cabal build cardano-db-sync \
Expand Down

0 comments on commit deb0de1

Please sign in to comment.