remove super-linter user due to permissions (#1870)

This commit is contained in:
Lukas Gravley 2021-08-16 10:28:00 -05:00 committed by GitHub
parent 8e17b57c1a
commit b803f846b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 14 deletions

View file

@ -458,13 +458,6 @@ COPY TEMPLATES /action/lib/.automation
################################################ ################################################
RUN ACTIONS_RUNNER_DEBUG=true WRITE_LINTER_VERSIONS_FILE=true /action/lib/linter.sh 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 # # Set the entrypoint #
###################### ######################

View file

@ -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 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 # # Set the entrypoint #
###################### ######################