Fix docker image build

New debian image has a nobody group.

Signed-off-by: beorn7 <beorn@grafana.com>
This commit is contained in:
beorn7 2020-12-16 21:31:12 +01:00
parent 193ebba04d
commit 01b9194397
1 changed files with 1 additions and 1 deletions

View File

@ -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