Simplify docker config (#3584)

This commit is contained in:
jekkos
2023-06-20 21:41:03 +02:00
parent 218e825f63
commit 00f54ef3f9

View File

@@ -1,7 +1,9 @@
FROM php:8.2-apache AS ospos
FROM php:8-apache AS ospos
LABEL maintainer="jekkos"
RUN apt update && apt-get install -y libicu-dev libgd-dev && apt clean
# workaround for travis docker issue (https://stackoverflow.com/questions/71941032/why-i-cannot-run-apt-update-inside-a-fresh-ubuntu22-04)
RUN sed -i -e 's/^APT/# APT/' -e 's/^DPkg/# DPkg/' /etc/apt/apt.conf.d/docker-clean
RUN apt update && apt-get install -y libicu-dev libgd-dev
RUN a2enmod rewrite headers
RUN docker-php-ext-install mysqli bcmath intl gd