Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Nov 7, 2022
1 parent c06f6e6 commit b2f5b53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfiles/Dockerfile.latest
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ RUN set -eux \
else \
VERSION="$( git tag | grep -E "^v?${PCS_VERSION}\.[.0-9]+\$" | sort -V | tail -1 )"; \
fi \
&& echo "Version: ${VERSION}" \
&& curl -sS -L https://github.com/squizlabs/PHP_CodeSniffer/releases/download/${VERSION}/phpcs.phar -o /phpcs.phar \
&& chmod +x /phpcs.phar \
&& mv /phpcs.phar /usr/bin/phpcs \
\
&& phpcs --version


ARG PHP_IMG_TAG
FROM php:${PHP_IMG_TAG} as production
LABEL \
maintainer="cytopia <cytopia@everythingcli.org>" \
Expand Down

0 comments on commit b2f5b53

Please sign in to comment.