Skip to content

Commit

Permalink
update security checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Guite committed Sep 21, 2021
1 parent e107e00 commit 0d102ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN apk update && apk upgrade && apk --no-cache add bash build-base autoconf mys

# see https://github.com/fabpot/local-php-security-checker/issues/11
# and https://github.com/fabpot/local-php-security-checker/issues
RUN wget -O local-php-security-checker https://github.com/fabpot/local-php-security-checker/releases/download/v1.0.0/local-php-security-checker_1.0.0_linux_amd64 \
RUN wget -O local-php-security-checker https://github.com/fabpot/local-php-security-checker/releases/download/v1.2.0/local-php-security-checker_1.2.0_linux_amd64 \
&& mv local-php-security-checker /usr/bin/local-php-security-checker \
&& chmod +x /usr/bin/local-php-security-checker

Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ if [ "$TOOLS" = "all" ] || [[ "$TOOLS" == *",phpunit-bridge,"* ]]; then
fi

if [ "$TOOLS" = "all" ] || [[ "$TOOLS" == *",security-checker,"* ]]; then
echo "Security: Sensiolabs"
echo "Security checker"
# see https://github.com/fabpot/local-php-security-checker
/usr/bin/local-php-security-checker
fi
Expand Down

0 comments on commit 0d102ef

Please sign in to comment.