Revert to last working Dockerfile (#3584)

This commit is contained in:
jekkos
2023-06-26 00:16:07 +02:00
parent 8db87fd5ab
commit 60c8ef5fbe

View File

@@ -1,9 +1,10 @@
FROM php:8-apache AS ospos
LABEL maintainer="jekkos"
# 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 apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
libicu-dev \
libgd-dev \
openssl
RUN a2enmod rewrite headers
RUN docker-php-ext-install mysqli bcmath intl gd