Skip to content

Commit

Permalink
fix: avoid noisy jshell logging in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed Sep 27, 2024
1 parent b58b6a0 commit 700c458
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/jreleaser/distributions/jbang/docker/Dockerfile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ LABEL {{.}}

COPY assembly/* /

## mkdir of .userPrefs is to fix https://github.com/jbangdev/jbang/issues/1831
RUN jar xf {{distributionArtifactFileName}}{{distributionArtifactFileExtension}} && \
rm {{distributionArtifactFileName}}{{distributionArtifactFileExtension}} && \
mv jbang-* jbang && \
chmod +x jbang/bin/jbang
chmod +x jbang/bin/jbang && \
mkdir $HOME/.java/.userPrefs


{{#dockerPostCommands}}
{{.}}
Expand Down

0 comments on commit 700c458

Please sign in to comment.