changed shell, some clean up
This commit is contained in:
parent
84a88ba7bb
commit
cd2db88a3b
24
Dockerfile
24
Dockerfile
@ -2,7 +2,7 @@ FROM debian:11-slim
|
|||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
ARG PHPVERSION=8.1
|
ARG PHPVERSION=8.1
|
||||||
|
SHELL ["/bin/bash", "-c"]
|
||||||
#Initial update packges
|
#Initial update packges
|
||||||
RUN apt update && apt upgrade -y
|
RUN apt update && apt upgrade -y
|
||||||
|
|
||||||
@ -48,30 +48,30 @@ RUN apt install php${PHPVERSION}-fpm php${PHPVERSION} -y --no-install-recommends
|
|||||||
&& mkdir /run/php/
|
&& mkdir /run/php/
|
||||||
|
|
||||||
#Installing Required PHP Modules
|
#Installing Required PHP Modules
|
||||||
RUN bash -c 'apt install -y php${PHPVERSION}-{cli,bcmath,bz2,intl,common,ctype,curl,dom,gd,mbstring,posix,simplexml,xmlreader,xmlwriter,zip} --no-install-recommends'
|
RUN apt install -y php${PHPVERSION}-{cli,bcmath,bz2,intl,common,ctype,curl,dom,gd,mbstring,posix,simplexml,xmlreader,xmlwriter,zip} --no-install-recommends
|
||||||
|
|
||||||
#Installing database connector PHP Modules
|
#Installing database connector PHP Modules
|
||||||
RUN bash -c 'apt install -y php${PHPVERSION}-mysql --no-install-recommends'
|
RUN apt install -y php${PHPVERSION}-mysql --no-install-recommends
|
||||||
|
|
||||||
#Installing recommended PHP Modules
|
#Installing recommended PHP Modules
|
||||||
RUN bash -c 'apt install -y php${PHPVERSION}-{fileinfo,bz2,intl} --no-install-recommends'
|
RUN apt install -y php${PHPVERSION}-{fileinfo,bz2,intl} --no-install-recommends
|
||||||
|
|
||||||
#Installing Optional Specific app PHP Modules
|
#Installing Optional Specific app PHP Modules
|
||||||
RUN bash -c 'apt install -y php${PHPVERSION}-{gmp,exif} --no-install-recommends'
|
RUN apt install -y php${PHPVERSION}-{gmp,exif} --no-install-recommends
|
||||||
#Installing Optional server performance enhancement PHP Modules
|
#Installing Optional server performance enhancement PHP Modules
|
||||||
RUN bash -c 'apt install -y php${PHPVERSION}-{apcu,memcached,redis} --no-install-recommends'
|
RUN apt install -y php${PHPVERSION}-{apcu,memcached,redis} --no-install-recommends
|
||||||
|
|
||||||
#Installing optional PHP modules and tools for preview generation #Maybe add LibreOffice here
|
#Installing optional PHP modules and tools for preview generation #Maybe add LibreOffice here
|
||||||
RUN bash -c 'apt install -y php${PHPVERSION}-imagick imagemagick ffmpeg libreoffice --no-install-recommends'
|
RUN apt install -y php${PHPVERSION}-imagick imagemagick ffmpeg libreoffice --no-install-recommends
|
||||||
|
|
||||||
#Installing Optional cli enhancement PHP Modules
|
#Installing Optional cli enhancement PHP Modules
|
||||||
#RUN bash -c 'apt install -y php${PHPVERSION}-pcntl --no-install-recommends'
|
#RUN apt install -y php${PHPVERSION}-pcntl --no-install-recommendsb
|
||||||
|
|
||||||
#Installing Optional PHP module requried for face recogniton
|
#Installing Optional PHP module requried for face recogniton
|
||||||
#RUN bash -c 'apt install -y php-pdlib --no-install-recommends'
|
#RUN apt install -y php-pdlib --no-install-recommends
|
||||||
RUN apt install libdlib-dev -y \
|
#RUN apt install libdlib-dev -y \
|
||||||
&& apt auto-remove -y \
|
# && apt auto-remove -y \
|
||||||
&& apt clean -y
|
# && apt clean -y
|
||||||
|
|
||||||
|
|
||||||
# Delete default stuff
|
# Delete default stuff
|
||||||
|
Loading…
x
Reference in New Issue
Block a user