From 01b9194397318ccfa0aed8ba604a03ff7b7007ed Mon Sep 17 00:00:00 2001 From: beorn7 Date: Wed, 16 Dec 2020 21:31:12 +0100 Subject: [PATCH] Fix docker image build New debian image has a nobody group. Signed-off-by: beorn7 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7d98d53c..b1d31b31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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