Skip to content

Commit ad82ed2

Browse files
committed
Base on Ubuntu 22.04 again
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 parent f23adbf commit ad82ed2

File tree

1 file changed

+20
-23
lines changed

1 file changed

+20
-23
lines changed

Dockerfile

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# You should have received a copy of the GNU Affero General Public License
2121
# along with this program. If not, see <http://www.gnu.org/licenses/>.
2222

23-
FROM ubuntu:20.04
23+
FROM ubuntu:22.04
2424

2525
ADD https://download.nextcloud.com/server/releases/nextcloud-25.0.8.tar.bz2 /root/nextcloud.tar.bz2
2626
ADD https://github.com/nextcloud-releases/richdocuments/releases/download/v7.1.4/richdocuments-v7.1.4.tar.gz /root/richdocuments.tar.gz
@@ -36,36 +36,33 @@ ENV NC_IS_PATCHED false
3636

3737
RUN /bin/bash -c "export DEBIAN_FRONTEND=noninteractive" && \
3838
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
39-
apt-get -y update && apt-get -y full-upgrade && apt-get install -y \
40-
software-properties-common
41-
42-
RUN DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:ondrej/php
39+
apt-get -y update && apt-get -y full-upgrade
4340

4441
RUN /bin/bash -c "export DEBIAN_FRONTEND=noninteractive" && \
4542
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
4643
apt-get -y update && apt-get -y full-upgrade && apt-get install -y \
4744
apache2 \
4845
cron \
4946
curl \
50-
libapache2-mod-php8.1 \
47+
libapache2-mod-php \
5148
libfuse2 \
5249
patch \
53-
php8.1 \
54-
php8.1-bcmath \
55-
php8.1-curl \
56-
php8.1-dev \
57-
php8.1-gd \
58-
php8.1-imagick \
59-
php8.1-intl \
60-
php8.1-mbstring \
61-
php8.1-xml \
62-
php8.1-zip \
63-
php8.1-apcu \
64-
php8.1-ldap \
65-
php8.1-oauth \
66-
php8.1-pgsql \
67-
php8.1-gmp \
68-
php8.1-smbclient \
50+
php \
51+
php-bcmath \
52+
php-curl \
53+
php-dev \
54+
php-gd \
55+
php-imagick \
56+
php-intl \
57+
php-mbstring \
58+
php-xml \
59+
php-zip \
60+
php-apcu \
61+
php-ldap \
62+
php-oauth \
63+
php-pgsql \
64+
php-gmp \
65+
php-smbclient \
6966
wget \
7067
pwgen \
7168
sudo \
@@ -106,7 +103,7 @@ RUN cd /var/www/html/apps && \
106103

107104
RUN /bin/bash -c "export DEBIAN_FRONTEND=noninteractive" && \
108105
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
109-
apt purge -y software-properties-common && apt autoremove -y && apt clean
106+
apt autoremove -y && apt clean
110107

111108
# uncomment and adjust following block if a patch needs to be applied
112109
#RUN cd /var/www/html/ && \

0 commit comments

Comments
 (0)