added an parameter to set the source as an parameter
Dieser Commit ist enthalten in:
Ursprung
ccfb2c7463
Commit
249eb5d0c6
|
@ -1,4 +1,7 @@
|
|||
FROM quay.io/keycloak/keycloak:latest as builder
|
||||
#ifndef SOURCE
|
||||
#define SOURCE gitea.sebastian-tobie.de/docker/keycloak:latest-orig
|
||||
#endif
|
||||
FROM SOURCE as builder
|
||||
ENV PATH="/opt/keycloak/bin:/usr/bin:/usr/local/bin"
|
||||
|
||||
ENV KC_HEALTH_ENABLED=false
|
||||
|
@ -9,7 +12,7 @@ ENV KC_FEATURES=dynamic-scopes,recovery-codes,preview
|
|||
ENV KC_DB_URL=postgresql://postgres.services.tobie:5432/keycloak
|
||||
RUN kc.sh build
|
||||
|
||||
FROM quay.io/keycloak/keycloak:latest
|
||||
FROM SOURCE
|
||||
ENV PATH="/opt/keycloak/bin:/usr/bin:/usr/local/bin"
|
||||
|
||||
COPY --from=builder /opt/keycloak/ /opt/keycloak/
|
Laden…
In neuem Issue referenzieren