mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 02:54:26 +00:00
The OIDC front plugin builder hardcoded FROM node:16-alpine. Source it from services.front.image / services.front.version so the base is config-driven and reachability-checked, and pin taiga-events/protected. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
19 lines
641 B
Docker
19 lines
641 B
Docker
# ── Stage 1: Build taiga-contrib-oidc-auth frontend plugin ───────────────────
|
|
# Node 16 matches .nvmrc of taiga-contrib-oidc-auth
|
|
FROM {{ TAIGA_OIDC_FRONTEND_BUILDER_IMAGE }}:{{ TAIGA_OIDC_FRONTEND_BUILDER_VERSION }} AS plugin-builder
|
|
|
|
RUN apk add --no-cache git
|
|
|
|
WORKDIR /build
|
|
RUN git clone {{ TAIGA_OIDC_PLUGIN_REPOSITORY }} . && \
|
|
git checkout {{ TAIGA_OIDC_PLUGIN_REF }}
|
|
|
|
WORKDIR /build/front
|
|
RUN npm install
|
|
|
|
RUN {{ TAIGA_OIDC_FRONTEND_BUILD_COMMAND }}
|
|
|
|
FROM taigaio/taiga-front:{{ TAIGA_VERSION }}
|
|
|
|
COPY --from=plugin-builder /build/front/dist/ /usr/share/nginx/html/plugins/oidc-auth/
|