Skip to content

Commit

Permalink
install using cpanfile.snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed May 7, 2024
1 parent 4917878 commit aa6eba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY cpanfile cpanfile.snapshot ./
RUN \
--mount=type=cache,target=/root/.perl-cpm,sharing=private \
<<EOT /bin/bash -euo pipefail
cpm install --show-build-log-on-failure
cpm install --show-build-log-on-failure --resolver=snapshot
EOT

ENV PERL5LIB="/metacpan-api-v0-shim/lib:/metacpan-api-v0-shim/local/lib/perl5"
Expand Down

0 comments on commit aa6eba2

Please sign in to comment.