File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ RUN apt-get update && apt-get install -y libpq-dev
33# Install cardano-db-sync
44ARG DBSYNC_VERSION=13.1.0.2
55ENV DBSYNC_VERSION=${DBSYNC_VERSION}
6+ ENV DBTOOL_VERSION=${DBTOOL_VERSION}
67RUN echo "Building tags/${DBSYNC_VERSION}..." \
78 && echo tags/${DBSYNC_VERSION} > /CARDANO_BRANCH \
89 && git clone https://github.com/input-output-hk/cardano-db-sync.git \
@@ -13,8 +14,10 @@ RUN echo "Building tags/${DBSYNC_VERSION}..." \
1314 && cabal update \
1415 && cabal configure --with-compiler=ghc-${GHC_VERSION} \
1516 && cabal build cardano-db-sync \
17+ && cabal build cardano-db-tool \
1618 && mkdir -p /root/.local/bin/ \
1719 && 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/ \
20+ && 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/ \
1821 && rm -rf /root/.cabal/packages \
1922 && rm -rf /usr/local/lib/ghc-${GHC_VERSION}/ /usr/local/share/doc/ghc-${GHC_VERSION}/ \
2023 && rm -rf /code/cardano-db-sync/dist-newstyle/ \
You can’t perform that action at this time.
0 commit comments