From 76a8f40b2b8e54f2adfc31e38d884737941b231e Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Fri, 26 Feb 2021 18:34:31 +0200 Subject: [PATCH] Fix crond container build. Root privileges are needed for installaing packages. --- crond/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crond/Dockerfile b/crond/Dockerfile index 0e67709..964b1ab 100644 --- a/crond/Dockerfile +++ b/crond/Dockerfile @@ -1,7 +1,7 @@ # hadolint ignore=DL3006 FROM registry.shore.co.il/cron +# hadolint ignore=DL3002 +USER root # hadolint ignore=DL3018 RUN apk add --no-cache --update docker-cli COPY --chown=root:root crontab /crontab -# hadolint ignore=DL3002 -USER root -- GitLab