Downgrade PHP version to 7.4
This commit is contained in:
parent
63b4a18849
commit
624784c8ba
10
Dockerfile
10
Dockerfile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user