Have pecl extensions managed by renovate #51
3 changed files with 43 additions and 4 deletions
27
.vscode/tasks.json
vendored
Normal file
27
.vscode/tasks.json
vendored
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||||
|
// for the documentation about the tasks.json format
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "docker-build: 1.6",
|
||||||
|
"type": "docker-build",
|
||||||
|
"dockerBuild": {
|
||||||
|
"tag": "dockergetgrav:1.6",
|
||||||
|
"dockerfile": "${workspaceFolder}/1.6/Dockerfile",
|
||||||
|
"context": "${workspaceFolder}",
|
||||||
|
"pull": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "docker-build: 1.7",
|
||||||
|
"type": "docker-build",
|
||||||
|
"dockerBuild": {
|
||||||
|
"tag": "dockergetgrav:1.7",
|
||||||
|
"dockerfile": "${workspaceFolder}/1.7/Dockerfile",
|
||||||
|
"context": "${workspaceFolder}",
|
||||||
|
"pull": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,7 +1,13 @@
|
||||||
FROM php:7.3.26-fpm-buster@sha256:cca12409a6b5f035af4e495a25fc2639fc82516d02e25457dbdf8505676ee4b0
|
FROM php:7.3.26-fpm-buster@sha256:cca12409a6b5f035af4e495a25fc2639fc82516d02e25457dbdf8505676ee4b0
|
||||||
|
|
||||||
|
SHELL [ "/bin/bash", "-c" ]
|
||||||
|
|
||||||
# renovate: datasource=github-tags depName=getgrav/grav versioning=semver
|
# renovate: datasource=github-tags depName=getgrav/grav versioning=semver
|
||||||
ENV GRAV_VERSION 1.6.31
|
ENV GRAV_VERSION 1.6.31
|
||||||
|
# renovate: datasource=github-tags depName=krakjoe/apcu versioning=semver
|
||||||
|
ENV PHP_APCU_VERSION v5.1.18
|
||||||
|
# renovate: datasource=github-tags depName=php/pecl-file_formats-yaml versioning=semver
|
||||||
|
ENV PHP_YAML_VERSION 2.1.0
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
\
|
\
|
||||||
|
@ -37,8 +43,8 @@ RUN set -ex; \
|
||||||
opcache \
|
opcache \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
pecl install apcu-5.1.18; \
|
pecl install apcu-${PHP_APCU_VERSION:1}; \
|
||||||
pecl install yaml-2.1.0; \
|
pecl install yaml-$PHP_YAML_VERSION; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
apcu \
|
apcu \
|
||||||
|
|
|
@ -1,7 +1,13 @@
|
||||||
FROM php:7.3.26-fpm-buster@sha256:cca12409a6b5f035af4e495a25fc2639fc82516d02e25457dbdf8505676ee4b0
|
FROM php:7.3.26-fpm-buster@sha256:cca12409a6b5f035af4e495a25fc2639fc82516d02e25457dbdf8505676ee4b0
|
||||||
|
|
||||||
|
SHELL [ "/bin/bash", "-c" ]
|
||||||
|
|
||||||
# renovate: datasource=github-tags depName=getgrav/grav versioning=semver
|
# renovate: datasource=github-tags depName=getgrav/grav versioning=semver
|
||||||
ENV GRAV_VERSION 1.7.3
|
ENV GRAV_VERSION 1.7.3
|
||||||
|
# renovate: datasource=github-tags depName=krakjoe/apcu versioning=semver
|
||||||
|
ENV PHP_APCU_VERSION v5.1.18
|
||||||
|
# renovate: datasource=github-tags depName=php/pecl-file_formats-yaml versioning=semver
|
||||||
|
ENV PHP_YAML_VERSION 2.1.0
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
\
|
\
|
||||||
|
@ -37,8 +43,8 @@ RUN set -ex; \
|
||||||
opcache \
|
opcache \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
pecl install apcu-5.1.18; \
|
pecl install apcu-${PHP_APCU_VERSION:1}; \
|
||||||
pecl install yaml-2.1.0; \
|
pecl install yaml-$PHP_YAML_VERSION; \
|
||||||
\
|
\
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
apcu \
|
apcu \
|
||||||
|
|
Loading…
Reference in a new issue