We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7e8bfd commit 7c16a01Copy full SHA for 7c16a01
master/Dockerfile
@@ -21,6 +21,9 @@ RUN apt-get update \
21
# Non-root user
22
RUN useradd --create-home --home-dir /buildbot buildbot
23
24
+USER buildbot
25
+WORKDIR /buildbot
26
+
27
# Copy virtual environment from builder
28
COPY --from=builder --chown=buildbot:buildbot /buildbot/.venv /buildbot/.venv
29
ENV PATH="/buildbot/.venv/bin:$PATH" \
@@ -30,9 +33,6 @@ ENV PATH="/buildbot/.venv/bin:$PATH" \
30
33
COPY --chown=buildbot:buildbot master/ master/
31
34
COPY --chown=buildbot:buildbot master.sh master.sh
32
35
-USER buildbot
-WORKDIR /buildbot
-
36
EXPOSE 8012 9990
37
38
ENTRYPOINT ["tini", "--"]
0 commit comments