Skip to content
Snippets Groups Projects
Commit 1993c6d1 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #3935

Closes #3935

Merge request studip/studip!2790
parent 3dd0907f
No related branches found
No related tags found
No related merge requests found
image: studip/studip:tests-php8.2 image: studip/studip:tests-php8.3
variables: variables:
FF_NETWORK_PER_BUILD: 1 FF_NETWORK_PER_BUILD: 1
......
...@@ -9,6 +9,7 @@ build_image () { ...@@ -9,6 +9,7 @@ build_image () {
fi fi
} }
build_image tests/php83 studip:tests-php8.3 &
build_image tests/php82 studip:tests-php8.2 & build_image tests/php82 studip:tests-php8.2 &
build_image tests/php74 studip:tests-php7.4 & build_image tests/php74 studip:tests-php7.4 &
build_image release-cli release-cli & build_image release-cli release-cli &
......
...@@ -7,10 +7,11 @@ RUN apt update && apt install -y --no-install-recommends \ ...@@ -7,10 +7,11 @@ RUN apt update && apt install -y --no-install-recommends \
lsb-release \ lsb-release \
zip \ zip \
tar \ tar \
libwebp-dev \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install php extensions # Install php extensions
RUN docker-php-ext-configure gd --with-jpeg RUN docker-php-ext-configure gd --with-jpeg --with-webp
RUN docker-php-ext-install pdo gettext curl gd mbstring zip pdo pdo_mysql mysqli intl json RUN docker-php-ext-install pdo gettext curl gd mbstring zip pdo pdo_mysql mysqli intl json
# Install npm using nvm # Install npm using nvm
......
...@@ -7,10 +7,11 @@ RUN apt update && apt install -y --no-install-recommends \ ...@@ -7,10 +7,11 @@ RUN apt update && apt install -y --no-install-recommends \
lsb-release \ lsb-release \
zip \ zip \
tar \ tar \
libwebp-dev \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install php extensions # Install php extensions
RUN docker-php-ext-configure gd --with-jpeg=/usr/include/ RUN docker-php-ext-configure gd --with-jpeg=/usr/include/ --with-webp
RUN docker-php-ext-install -j$(nproc) pdo gettext curl gd mbstring zip pdo pdo_mysql mysqli intl RUN docker-php-ext-install -j$(nproc) pdo gettext curl gd mbstring zip pdo pdo_mysql mysqli intl
# Install npm using nvm # Install npm using nvm
......
# Setup php, apache and stud.ip
FROM php:8.3-cli
# Install system requirements
RUN apt update && apt install -y --no-install-recommends \
default-mysql-client default-libmysqlclient-dev libcurl4-openssl-dev zlib1g-dev libpng-dev libjpeg-dev libonig-dev libzip-dev libicu-dev \
lsb-release \
zip \
tar \
libwebp-dev \
&& rm -rf /var/lib/apt/lists/*
# Install php extensions
RUN docker-php-ext-configure gd --with-jpeg=/usr/include/ --with-webp
RUN docker-php-ext-install -j$(nproc) pdo gettext curl gd mbstring zip pdo pdo_mysql mysqli intl
# Install npm using nvm
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt update && apt install -y --no-install-recommends nodejs \
curl apt-transport-https ca-certificates gnupg unzip git \
&& rm -rf /var/lib/apt/lists/*
# Install composer
COPY --from=composer /usr/bin/composer /usr/bin/composer
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