Skip to content

Commit

Permalink
Fix Docker image
Browse files Browse the repository at this point in the history
The new doker image has renamed nogroup to nobody

Signed-off-by: Julien Pivotto <[email protected]>
  • Loading branch information
Julien Pivotto committed Dec 16, 2020
1 parent a071941 commit 6f114e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ LABEL maintainer="The Prometheus Authors <[email protected]

ARG ARCH="amd64"
ARG OS="linux"
COPY --chown=nobody:nogroup .build/${OS}-${ARCH}/pushgateway /bin/pushgateway
COPY --chown=nobody:nobody .build/${OS}-${ARCH}/pushgateway /bin/pushgateway

EXPOSE 9091
RUN mkdir -p /pushgateway && chown nobody:nogroup /pushgateway
RUN mkdir -p /pushgateway && chown nobody:nobody /pushgateway
WORKDIR /pushgateway

USER 65534
Expand Down

0 comments on commit 6f114e1

Please sign in to comment.