Merge pull request #2435 from prometheus/beorn7/build

Fix docker image build
This commit is contained in:
Björn Rabenstein 2020-12-17 01:20:33 +01:00 committed by GitHub
commit 9e1e4fa420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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