use alpine 3.17

This commit is contained in:
Sebastian Hugentobler 2022-11-23 15:11:01 +01:00
parent c8c1f9a741
commit 3008df79d6
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -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 VERSION=20.0.1
ENV SHA256_SUM=0ab04636827d54915f54456a260d37489e6c4df494615cf00c05e96d281a91e6 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 mkdir -p /keycloak
RUN tar xvf keycloak-$VERSION.tar.gz -C /keycloak --strip 1 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 addgroup -g 2222 keycloak
RUN adduser -h /home/keycloak -u 2222 -D -G keycloak keycloak RUN adduser -h /home/keycloak -u 2222 -D -G keycloak keycloak