Bump base versions, add clamav to nextcloud image
This commit is contained in:
parent
05a5515221
commit
a3df37c551
3 changed files with 6 additions and 3 deletions
|
@ -13,7 +13,7 @@ RUN apt-get upgrade -y
|
||||||
|
|
||||||
RUN apt-get install -y temurin-21-jdk curl wget moreutils && apt-get clean -y
|
RUN apt-get install -y temurin-21-jdk curl wget moreutils && apt-get clean -y
|
||||||
|
|
||||||
ENV JENKINS_VERSION 2.517
|
ENV JENKINS_VERSION 2.519
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
|
@ -9,7 +9,7 @@ WORKDIR /var/www
|
||||||
RUN git clone https://github.com/nextcloud/server html
|
RUN git clone https://github.com/nextcloud/server html
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
RUN git checkout v31.0.4
|
RUN git checkout v31.0.7
|
||||||
RUN git submodule update --init --recursive
|
RUN git submodule update --init --recursive
|
||||||
|
|
||||||
RUN rm -rf .git
|
RUN rm -rf .git
|
||||||
|
@ -22,8 +22,10 @@ RUN apt-get install -y apache2 apache2-utils php8.2 php8.2-gd php8.2-mysql php8.
|
||||||
|
|
||||||
RUN apt-get install -y php8.2-bcmath php8.2-gmp php8.2-intl cron
|
RUN apt-get install -y php8.2-bcmath php8.2-gmp php8.2-intl cron
|
||||||
|
|
||||||
|
RUN apt-get install -y clamav clamav-daemon
|
||||||
|
|
||||||
ENV MOUNTPOINT /var/www/html
|
ENV MOUNTPOINT /var/www/html
|
||||||
ENV NEXTCLOUD_VERSION 31.0.4
|
ENV NEXTCLOUD_VERSION 31.0.7
|
||||||
|
|
||||||
WORKDIR /var/www/
|
WORKDIR /var/www/
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ fi
|
||||||
|
|
||||||
crontab /etc/crontab
|
crontab /etc/crontab
|
||||||
service cron start
|
service cron start
|
||||||
|
service clamav-daemon start
|
||||||
|
|
||||||
chown -Rv www-data:www-data /var/www/html
|
chown -Rv www-data:www-data /var/www/html
|
||||||
apache2ctl -D FOREGROUND
|
apache2ctl -D FOREGROUND
|
Loading…
Add table
Add a link
Reference in a new issue