Skip to content

Commit

Permalink
Fix docker image build
Browse files Browse the repository at this point in the history
New debian image has a nobody group.

Signed-off-by: beorn7 <[email protected]>
  • Loading branch information
beorn7 committed Dec 16, 2020
1 parent 193ebba commit 01b9194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY .build/${OS}-${ARCH}/alertmanager /bin/alertmanager
COPY examples/ha/alertmanager.yml /etc/alertmanager/alertmanager.yml

RUN mkdir -p /alertmanager && \
chown -R nobody:nogroup etc/alertmanager /alertmanager
chown -R nobody:nobody etc/alertmanager /alertmanager

USER nobody
EXPOSE 9093
Expand Down

0 comments on commit 01b9194

Please sign in to comment.