diff --git a/Dockerfile b/Dockerfile index 5bec7d5..1c7b7cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/alpine:3.16 AS builder +FROM docker.io/alpine:3.17 AS builder ENV VERSION=20.0.1 ENV SHA256_SUM=0ab04636827d54915f54456a260d37489e6c4df494615cf00c05e96d281a91e6 @@ -8,7 +8,9 @@ RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 RUN mkdir -p /keycloak RUN tar xvf keycloak-$VERSION.tar.gz -C /keycloak --strip 1 -FROM docker.io/thallian/alpine-s6:3.16 +FROM docker.io/thallian/alpine-s6:3.17 + +ENV JAVA_OPTS_APPEND="-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true" RUN addgroup -g 2222 keycloak RUN adduser -h /home/keycloak -u 2222 -D -G keycloak keycloak