Skip to content

Commit

Permalink
Explicitly set postgresql driver
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Aug 24, 2024
1 parent 9da0e76 commit d596209
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN pnpm run build-keycloak-theme
FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION} as builder

Check warning on line 13 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Docker image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /opt/keycloak
COPY --from=keycloakify_jar_builder /opt/app/dist_keycloak/keycloak-theme-for-kc-22-and-above.jar /opt/keycloak/providers/
ENV KC_DB=postgres
RUN /opt/keycloak/bin/kc.sh build

FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION}
Expand Down

0 comments on commit d596209

Please sign in to comment.