Skip to content

Commit 6e42b27

Browse files
committed
[bugfix] Address Codacy Static Analysis issues
1 parent 6bd1ebf commit 6e42b27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exist-docker/src/main/resources-filtered/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN apt-get update && apt-get -y dist-upgrade
2626
RUN apt-get install -y openjdk-17-jre-headless
2727
RUN apt-get install -y expat fontconfig # Install tools required by FOP
2828

29-
FROM gcr.io/distroless/java17
29+
FROM gcr.io/distroless/java17:latest
3030

3131
# Copy over dependencies for Apache FOP, missing from GCR's JRE
3232
COPY --from=debian-slim /usr/lib/x86_64-linux-gnu/libfreetype.so.6 /usr/lib/x86_64-linux-gnu/libfreetype.so.6

exist-docker/src/main/resources-filtered/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ docker run -m 600m …
297297
```
298298

299299
Lastly, this image uses a new garbage collection mechanism
300-
[The Z Garbage Collector (https://docs.oracle.com/en/java/javase/11/gctuning/z-garbage-collector1.html)] `-XX:+UseZGC`
300+
[The Z Garbage Collector](https://docs.oracle.com/en/java/javase/11/gctuning/z-garbage-collector1.html) `-XX:+UseZGC`
301301
and [string deduplication](http://openjdk.java.net/jeps/192) `-XX:+UseStringDeduplication` to improve performance.
302302

303303
To disable or further tweak these features edit the relevant parts of the `Dockerfile`, or when running the image.

0 commit comments

Comments
 (0)