use newer base image

This commit is contained in:
Sebastian Hugentobler 2022-07-12 18:41:04 +02:00
parent 3ef8a81ef8
commit f503742661

View File

@ -1,4 +1,4 @@
FROM docker.io/alpine:3.15 AS builder FROM docker.io/alpine:3.16 AS builder
ENV VERSION=18.0.2 ENV VERSION=18.0.2
ENV SHA256_SUM=c704f3bb68c28214298291b217c1658e4bb011e338b09c19f82f30b98340861a ENV SHA256_SUM=c704f3bb68c28214298291b217c1658e4bb011e338b09c19f82f30b98340861a
@ -8,7 +8,7 @@ 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:latest FROM docker.io/thallian/alpine-s6:3.16
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