This commit is contained in:
2024-06-29 18:28:49 +05:00
parent 7b0b61bf2d
commit 8801475079
3 changed files with 1953 additions and 3 deletions

View File

@ -17,10 +17,13 @@ RUN curl ${URL}nextcloud-${VERSION}.tar.bz2 -o nextcloud-${VERSION}.tar.bz2 \
&& rm -rv nextcloud nextcloud-${VERSION}.tar.bz2
# Installing basic tools
RUN apt-get install bzip2 zip unzip git gnupg2 ca-certificates lsb-release apt-transport-https wget curl nano vim -y --no-install-recommends \
RUN apt-get update && apt-get install bzip2 zip unzip git gnupg2 ca-certificates lsb-release apt-transport-https wget curl nano vim -y --no-install-recommends \
&& apt-get auto-remove -y \
&& apt-get clean -y
# Copy php.ini config
COPY php.ini /usr/local/etc/php/php.ini
# Install Php stuff
RUN docker-php-ext-install {gd,mysqli,pdo,pdo_mysql,bcmath,calendar,zip,gettext,exif,pcntl,shmop,-j$(nproc),gd,sysvmsg,sysvsem,sysvshm}