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

Add PHP 8.4 image

parent 72820a35
No related branches found
No related tags found
1 merge request!29Add PHP 8.4 image
Pipeline #7984 failed
This commit is part of merge request !29. Comments created here will be created in the context of that merge request.
......@@ -143,6 +143,24 @@ build-debian-wp-org-deploy-build-dev:
except:
- master
# PHP 8.4
build-php-8.4-master:
stage: deploy
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/php:8.4" ./php/8.4
- docker push "$CI_REGISTRY_IMAGE/php:8.4"
only:
- master
when: manual
build-php-8.4-dev:
stage: deploy
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/php:8.4-dev" ./php/8.4
- docker push "$CI_REGISTRY_IMAGE/php:8.4-dev"
except:
- master
# PHP 8.3
build-php-8.3-master:
stage: deploy
......
FROM php:8.4-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 \
&& pecl install xdebug \
&& php -m
ENV NVM_DIR /usr/local/nvm
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& chmod +x /usr/local/bin/composer \
&& composer --version \
&& mkdir $NVM_DIR \
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash \
&& . $NVM_DIR/nvm.sh \
&& nvm --version
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.
Please register or to comment