Skip to content

Commit

Permalink
deploy: fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
goshatch committed Nov 20, 2024
1 parent 9ed2dd9 commit 09d6e64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ FROM eclipse-temurin:17-alpine
# check for newer package versions: https://pkgs.alpinelinux.org/
RUN apk add --no-cache \
dumb-init~=1.2.5-r3 \
curl~=8.10.1-r0 \
curl~=8.11.0-r2 \
jq~=1.7.1-r0

# Create Non-root group and user to run service securely
Expand Down Expand Up @@ -131,7 +131,7 @@ HEALTHCHECK \
# JDK_JAVA_OPTIONS environment variable for setting JVM options
# Use JVM options that optomise running in a container
# For very low latency, use the Z Garbage collector "-XX:+UseZGC"
ENV JDK_JAVA_OPTIONS "-XshowSettings:system -XX:+UseContainerSupport -XX:MaxRAMPercentage=90"
ENV JDK_JAVA_OPTIONS="-XshowSettings:system -XX:+UseContainerSupport -XX:MaxRAMPercentage=90"

# Start service using dumb-init and java run-time
# (overrides `jshell` entrypoint - default in eclipse-temuring image)
Expand Down

0 comments on commit 09d6e64

Please sign in to comment.