Commit d824dc3d authored by Erick Hitter's avatar Erick Hitter
Browse files

Add images for PHP 7.4 and 8.0

parent 281c9e41
Pipeline #3534 failed with stages
in 5 minutes and 23 seconds
......@@ -125,6 +125,42 @@ build-debian-wp-org-deploy-build-dev:
except:
- master
# PHP 8.0
build-php-8.0-master:
stage: deploy
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/php:8.0" ./php/8.0
- docker push "$CI_REGISTRY_IMAGE/php:8.0"
only:
- master
when: manual
build-php-8.0-dev:
stage: deploy
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/php:8.0-dev" ./php/8.0
- docker push "$CI_REGISTRY_IMAGE/php:8.0-dev"
except:
- master
# PHP 7.4
build-php-7.4-master:
stage: deploy
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/php:7.4" ./php/7.4
- docker push "$CI_REGISTRY_IMAGE/php:7.4"
only:
- master
when: manual
build-php-7.4-dev:
stage: deploy
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/php:7.4-dev" ./php/7.4
- docker push "$CI_REGISTRY_IMAGE/php:7.4-dev"
except:
- master
# PHP 7.3
build-php-7.3-master:
stage: deploy
......
FROM php:7.4-buster
LABEL maintainer="ethitter"
LABEL version="1.0"
RUN apt-get update \
&& apt-get -yqqf install lsb-release zip unzip rsync subversion git mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev libzip-dev --fix-missing --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install mbstring mysqli intl gd zip bz2
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN chmod +x /usr/local/bin/composer
ENV PATH=/root/.composer/vendor/bin:$HOME/.composer/vendor/bin:$PATH
FROM php:8.0-buster
LABEL maintainer="ethitter"
LABEL version="1.0"
RUN apt-get update \
&& apt-get -yqqf install lsb-release zip unzip rsync subversion git mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev libzip-dev --fix-missing --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install mbstring mysqli intl gd zip bz2
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN chmod +x /usr/local/bin/composer
ENV PATH=/root/.composer/vendor/bin:$HOME/.composer/vendor/bin:$PATH
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment