Skip to content
Snippets Groups Projects
Commit 80e9caa8 authored by Erick Hitter's avatar Erick Hitter
Browse files

Add PHP 8.1, bump to latest Debian LTS when possible

parent 017abf54
No related branches found
No related tags found
1 merge request!23Add PHP 8.1
Pipeline #4791 failed with stages
in 9 minutes and 48 seconds
......@@ -143,6 +143,24 @@ build-debian-wp-org-deploy-build-dev:
except:
- master
# PHP 8.1
build-php-8.1-master:
stage: deploy
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/php:8.1" ./php/8.1
- docker push "$CI_REGISTRY_IMAGE/php:8.1"
only:
- master
when: manual
build-php-8.1-dev:
stage: deploy
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/php:8.1-dev" ./php/8.1
- docker push "$CI_REGISTRY_IMAGE/php:8.1-dev"
except:
- master
# PHP 8.0
build-php-8.0-master:
stage: deploy
......
FROM php:7.1-stretch
FROM php:7.1-buster
LABEL maintainer="ethitter"
LABEL version="1.0"
......
FROM php:7.2-stretch
FROM php:7.2-buster
LABEL maintainer="ethitter"
LABEL version="1.0"
......
FROM php:7.3-stretch
FROM php:7.3-bullseye
LABEL maintainer="ethitter"
LABEL version="1.0"
......
FROM php:7.4-buster
FROM php:7.4-bullseye
LABEL maintainer="ethitter"
LABEL version="1.0"
......
FROM php:8.0-buster
FROM php:8.0-bullseye
LABEL maintainer="ethitter"
LABEL version="1.0"
......
FROM php:8.1-bullseye
LABEL maintainer="ethitter"
LABEL version="1.0"
RUN apt-get update \
&& apt-get -yqqf install lsb-release zip unzip rsync subversion git libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev libzip-dev libonig-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
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