Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,3 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
VERSION=4.0.4
14 changes: 9 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@ FROM base AS builder

RUN apk add --no-cache --virtual .mbdeps $PHPIZE_DEPS oniguruma-dev && docker-php-ext-install mbstring

RUN curl -OL https://phar.io/releases/phive.phar && \
curl -OL https://phar.io/releases/phive.phar.asc && \
# renovate: datasource=github-releases depName=phar-io/phive
ARG PHIVE_VERSION=0.16.0

RUN curl -fsSL -o phive.phar https://github.com/phar-io/phive/releases/download/${PHIVE_VERSION}/phive-${PHIVE_VERSION}.phar && \
curl -fsSL -o phive.phar.asc https://github.com/phar-io/phive/releases/download/${PHIVE_VERSION}/phive-${PHIVE_VERSION}.phar.asc && \
apk add --no-cache --virtual .gpg gpg gpg-agent && \
gpg --keyserver hkps://keys.openpgp.org --recv-keys 0x9D8A98B29B2D5D79 && \
gpg --verify phive.phar.asc phive.phar && \
chmod +x phive.phar

ARG VERSION
# renovate: datasource=packagist depName=squizlabs/php_codesniffer
ARG PHPCS_VERSION=4.0.4

RUN ./phive.phar install --trust-gpg-keys 5CB4F778BF9BC4FB67AE511D96E91A992CF22FF4 phpcs@$VERSION
RUN ./phive.phar install --trust-gpg-keys 5CB4F778BF9BC4FB67AE511D96E91A992CF22FF4 phpcbf@$VERSION
RUN ./phive.phar install --trust-gpg-keys 5CB4F778BF9BC4FB67AE511D96E91A992CF22FF4 phpcs@$PHPCS_VERSION
RUN ./phive.phar install --trust-gpg-keys 5CB4F778BF9BC4FB67AE511D96E91A992CF22FF4 phpcbf@$PHPCS_VERSION

RUN /tools/phpcs --version
RUN /tools/phpcbf --version
Expand Down
3 changes: 2 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
"config:recommended",
"customManagers:dockerfileVersions"
]
}