From 886665899e947390e7aa35b95342c0d98c3418b2 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 13 Dec 2018 22:51:53 +0100 Subject: [PATCH] Build images for PHP version 7.0, 7.1 and 7.2 --- .gitlab-ci.yml | 18 +++++++++++++++++- php-7.0/Dockerfile | 1 - 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4a8a764..277fe1b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,26 @@ 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 diff --git a/php-7.0/Dockerfile b/php-7.0/Dockerfile index 9b1b323..e30078c 100644 --- a/php-7.0/Dockerfile +++ b/php-7.0/Dockerfile @@ -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 && \ -- GitLab