Skip to content

Commit 52309d9

Browse files
authored
feat: version bump cardano-db-sync to 13.3.0.0 (#58)
1 parent eaa6130 commit 52309d9

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Dockerfile

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
FROM ghcr.io/blinklabs-io/haskell:9.6.3-3.10.2.0-1 as cardano-db-sync-build
1+
FROM ghcr.io/blinklabs-io/haskell:9.6.3-3.10.2.0-1 AS cardano-db-sync-build
22
RUN apt-get update && apt-get install -y libpq-dev
33
# Install cardano-db-sync
4-
ARG DBSYNC_VERSION=13.2.0.2
4+
ARG DBSYNC_VERSION=13.3.0.0
55
ENV DBSYNC_VERSION=${DBSYNC_VERSION}
6-
ARG DBSYNC_REF=tags/13.2.0.2
6+
ARG DBSYNC_REF=tags/13.3.0.0
77
ENV DBSYNC_REF=${DBSYNC_REF}
8+
ARG DBTOOL_VERSION=13.2.0.2
9+
ENV DBTOOL_VERSION=${DBTOOL_VERSION}
810
RUN echo "Building ${DBSYNC_REF}..." \
911
&& echo ${DBSYNC_REF} > /CARDANO_DB_SYNC_REF \
1012
&& git clone https://github.com/input-output-hk/cardano-db-sync.git \
@@ -18,15 +20,15 @@ RUN echo "Building ${DBSYNC_REF}..." \
1820
&& cabal build cardano-db-tool \
1921
&& mkdir -p /root/.local/bin/ \
2022
&& cp -p dist-newstyle/build/$(uname -m)-linux/ghc-${GHC_VERSION}/cardano-db-sync-${DBSYNC_VERSION}/build/cardano-db-sync/cardano-db-sync /root/.local/bin/ \
21-
&& cp -p dist-newstyle/build/$(uname -m)-linux/ghc-${GHC_VERSION}/cardano-db-tool-${DBSYNC_VERSION}/x/cardano-db-tool/build/cardano-db-tool/cardano-db-tool /root/.local/bin/ \
23+
&& cp -p dist-newstyle/build/$(uname -m)-linux/ghc-${GHC_VERSION}/cardano-db-tool-${DBTOOL_VERSION}/x/cardano-db-tool/build/cardano-db-tool/cardano-db-tool /root/.local/bin/ \
2224
&& rm -rf /root/.cabal/packages \
2325
&& rm -rf /usr/local/lib/ghc-${GHC_VERSION}/ /usr/local/share/doc/ghc-${GHC_VERSION}/ \
2426
&& rm -rf /code/cardano-db-sync/dist-newstyle/ \
2527
&& rm -rf /root/.cabal/store/ghc-${GHC_VERSION}
2628

27-
FROM ghcr.io/blinklabs-io/cardano-configs:20240515-2 as cardano-configs
29+
FROM ghcr.io/blinklabs-io/cardano-configs:20240515-2 AS cardano-configs
2830

29-
FROM debian:bookworm-slim as cardano-db-sync
31+
FROM debian:bookworm-slim AS cardano-db-sync
3032
ENV LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
3133
ENV PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
3234
COPY --from=cardano-db-sync-build /usr/local/lib/ /usr/local/lib/

0 commit comments

Comments
 (0)