From b803f846b9d2593bdd4dea9d013d5946f8b156b4 Mon Sep 17 00:00:00 2001 From: Lukas Gravley Date: Mon, 16 Aug 2021 10:28:00 -0500 Subject: [PATCH] remove super-linter user due to permissions (#1870) --- Dockerfile | 7 ------- Dockerfile-slim | 7 ------- 2 files changed, 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0456bed6..9f597eaa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -458,13 +458,6 @@ COPY TEMPLATES /action/lib/.automation ################################################ RUN ACTIONS_RUNNER_DEBUG=true WRITE_LINTER_VERSIONS_FILE=true /action/lib/linter.sh -############ -# Set user # -############ -RUN addgroup -g 1000 superlinter && \ - adduser -u 1000 -D -G superlinter superlinter -USER superlinter - ###################### # Set the entrypoint # ###################### diff --git a/Dockerfile-slim b/Dockerfile-slim index 62768aff..bd0484f3 100644 --- a/Dockerfile-slim +++ b/Dockerfile-slim @@ -393,13 +393,6 @@ COPY TEMPLATES /action/lib/.automation ################################################ RUN ACTIONS_RUNNER_DEBUG=true WRITE_LINTER_VERSIONS_FILE=true IMAGE=slim /action/lib/linter.sh -############ -# Set user # -############ -RUN addgroup -g 1000 superlinter && \ - adduser -u 1000 -D -G superlinter superlinter -USER superlinter - ###################### # Set the entrypoint # ######################