Downgrade PHP version to 7.4

This commit is contained in:
Siroco 2023-07-01 16:18:04 +02:00
parent 63b4a18849
commit 624784c8ba
No known key found for this signature in database
GPG Key ID: 1324098302A514B0

View File

@ -3,16 +3,16 @@ FROM debian:stable-slim
ARG BRANCH=25.x ARG BRANCH=25.x
ARG UID=1000 ARG UID=1000
ARG GID=1000 ARG GID=1000
#ARG PHP_VERSION=7.4 ARG PHP_VERSION=7.4
ARG PHP_VERSION= ARG PHP_VERSION=
RUN apt update && apt dist-upgrade -y RUN apt update && apt dist-upgrade -y
## Install Older version ## Install Older version
#RUN apt-get -y install lsb-release ca-certificates curl RUN apt-get -y install lsb-release ca-certificates curl
#RUN curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg RUN curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
#RUN sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' RUN sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
#RUN apt-get update RUN apt-get update
RUN apt install -y \ RUN apt install -y \
tesseract-ocr tesseract-ocr-spa sudo tesseract-ocr tesseract-ocr-spa sudo