Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
NanuIjaz authored Sep 9, 2023
1 parent 714ea2c commit e493e7e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,11 @@ ARG VERSION
RUN echo "Building tags/$VERSION..."
RUN touch cabal.project.local
COPY . .
RUN ls -a *cabal*
RUN cabal update \
&& cabal configure --with-compiler=ghc-8.10.7 \
&& ls -ltra \
&& echo "package cardano-crypto-praos" >> cabal.project.local \
&& echo "flags: -external-libsodium-vrf" >> cabal.project.local
&& echo "flags: -external-libsodium-vrf" >> cabal.project.local
RUN cabal build all \
&& cp -p dist-newstyle/build/x86_64-linux/ghc-8.10.7/cardano-db-sync-*/build/cardano-db-sync/cardano-db-sync /root/.local/bin/
FROM debian:stable-slim
Expand Down

0 comments on commit e493e7e

Please sign in to comment.