Skip to content
Snippets Groups Projects
Commit 88666589 authored by jurgenhaas's avatar jurgenhaas
Browse files

Build images for PHP version 7.0, 7.1 and 7.2

parent 75d804c6
No related branches found
No related tags found
No related merge requests found
Pipeline #5861 passed
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build-master:
php-7.0:
stage: build
script:
- docker build --pull -t $CI_REGISTRY_IMAGE:php-7.0 ./php-7.0
- docker push $CI_REGISTRY_IMAGE:php-7.0
only:
- master
php-7.1:
stage: build
script:
- docker build --pull -t $CI_REGISTRY_IMAGE:php-7.1 ./php-7.1
- docker push $CI_REGISTRY_IMAGE:php-7.1
only:
- master
php-7.2:
stage: build
script:
- docker build --pull -t $CI_REGISTRY_IMAGE:php-7.2 ./php-7.2
- docker push $CI_REGISTRY_IMAGE:php-7.2
only:
- master
......@@ -71,7 +71,6 @@ RUN mkdir -p /root/.ssh && \
bash fish python nodejs git unzip \
php7 php7-phar php7-json php7-dom php7-gd php7-mbstring php7-openssl \
php7-pdo php7-curl php7-xml php7-zip php7-session php7-ctype && \
echo "php7-tokenizer php7-simplexml php7-xmlwriter" && \
\
wget -q https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub -O /etc/apk/keys/sgerrand.rsa.pub && \
wget -q https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${glibc_version}/glibc-${glibc_version}.apk && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment