initial commit
This commit is contained in:
commit
bf4b3d3eb4
10 changed files with 699 additions and 0 deletions
22
Dockerfile
Normal file
22
Dockerfile
Normal file
|
@ -0,0 +1,22 @@
|
|||
FROM alpine:3.14 AS builder
|
||||
|
||||
ENV VERSION=15.0.2
|
||||
ENV SHA256_SUM=1915e33b3789eb426fda06676e39b9ddf3a7b563e1e2381a92a02da814dad047
|
||||
|
||||
RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz"
|
||||
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 thallian/confd-env:latest
|
||||
|
||||
RUN addgroup -g 2222 keycloak
|
||||
RUN adduser -h /home/keycloak -u 2222 -D -G keycloak keycloak
|
||||
|
||||
RUN apk add --no-cache \
|
||||
openjdk11-jre-headless
|
||||
|
||||
COPY --from=builder --chown=keycloak:keycloak /keycloak /home/keycloak/server
|
||||
|
||||
ADD /rootfs /
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue