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

Merge branch 'add/php-8.1' into 'master'

Add PHP 8.1

See merge request !23
parents 017abf54 bf772641
No related branches found
No related tags found
1 merge request!23Add PHP 8.1
Pipeline #4799 passed with stages
in 29 minutes and 27 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
......
......@@ -7,7 +7,7 @@ LABEL version="1.0"
# Install golint
ENV GOPATH /go
ENV PATH ${GOPATH}/bin:$PATH
RUN go get -u golang.org/x/lint/golint
RUN go install golang.org/x/lint/golint@latest
# Install clang
RUN apt-get update && apt-get install -y --no-install-recommends \
......
FROM php:7.1-stretch
FROM php:7.1-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 --fix-missing --no-install-recommends \
&& 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/*
......
FROM php:7.2-stretch
FROM php:7.2-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 --fix-missing --no-install-recommends \
&& 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/*
......
FROM php:7.3-stretch
FROM php:7.3-bullseye
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 -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/*
......
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