Skip to content

Commit

Permalink
feat(build): Set explicit image versions in keycloakify docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed Mar 4, 2024
1 parent d5f58f5 commit ed27d24
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions keycloak/keycloakify/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
FROM node:latest as builder
FROM node:21-bookworm as builder

USER root
RUN apt-get update && apt-get install -y maven

RUN mvn --version

RUN yarn versions

WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn
COPY . .
RUN yarn build-keycloak-theme

FROM alpine:latest
FROM alpine:3.19
RUN mkdir /output
COPY --from=builder /app/build_keycloak/target/*.jar /output/
RUN apk add --no-cache wget curl
Expand Down

0 comments on commit ed27d24

Please sign in to comment.