Fix docker image build
New debian image has a nobody group. Signed-off-by: beorn7 <beorn@grafana.com>
This commit is contained in:
parent
193ebba04d
commit
01b9194397
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue