Skip to content

Commit 7036e87

Browse files
author
MayorFaj
committed
fix: Ensure ETHERPAD_PLUGINS ARG is recognized in all stages
1 parent 9bc91cb commit 7036e87

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ FROM build AS build_copy
132132

133133
FROM build_${BUILD_ENV} AS development
134134

135+
ARG ETHERPAD_PLUGINS=
136+
ARG ETHERPAD_LOCAL_PLUGINS=
137+
ARG ETHERPAD_GITHUB_PLUGINS=
138+
135139
COPY --chown=etherpad:etherpad ./src/ ./src/
136140
COPY --chown=etherpad:etherpad --from=adminbuild /opt/etherpad-lite/src/ templates/admin./src/templates/admin
137141
COPY --chown=etherpad:etherpad --from=adminbuild /opt/etherpad-lite/src/static/oidc ./src/static/oidc
@@ -144,6 +148,10 @@ RUN bin/installDeps.sh && \
144148

145149
FROM build_${BUILD_ENV} AS production
146150

151+
ARG ETHERPAD_PLUGINS=
152+
ARG ETHERPAD_LOCAL_PLUGINS=
153+
ARG ETHERPAD_GITHUB_PLUGINS=
154+
147155
ENV NODE_ENV=production
148156
ENV ETHERPAD_PRODUCTION=true
149157

0 commit comments

Comments
 (0)