From 206c8e17ed493a287291e735767b049451938e85 Mon Sep 17 00:00:00 2001 From: Mykyta Solomko Date: Thu, 17 Dec 2020 22:14:03 +0200 Subject: [PATCH] Ensure file permissions and owner --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index af70e05..a232698 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,5 +29,6 @@ RUN wget -qO - https://github.com/koalaman/shellcheck/releases/download/v${SHELL RUN wget -qO /usr/local/bin/hadolint \ https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VER}/hadolint-Linux-x86_64 -RUN chmod +x /usr/local/bin/* +RUN chown root:root /usr/local/bin/* \ + && chmod 0755 /usr/local/bin/*