Skip to content

Commit 5480f6e

Browse files
committed
Improve repeatable builds of image
1 parent e872045 commit 5480f6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN hugo build \
1010
--cleanDestinationDir \
1111
--config /src/config.toml
1212

13-
RUN find /src/public -type f \( -name '*.html' -o -name '*.css' -o -name '*.js' -o -name '*.xml' -o -name '*.json' -o -name '*.svg' -o -name '*.txt' \) -print0 | xargs -0 -P4 -n32 --no-run-if-empty gzip --best -kf
13+
RUN find /src/public -type f \( -name '*.html' -o -name '*.css' -o -name '*.js' -o -name '*.xml' -o -name '*.json' -o -name '*.svg' -o -name '*.txt' \) -print0 | xargs -0 -P4 -n32 --no-run-if-empty gzip gzip -9k --force --no-name
1414

1515
# ---------------------------------------------------
1616

0 commit comments

Comments
 (0)