update to nextcloud 11
This commit is contained in:
parent
ebc2dde255
commit
bc1f71fdf6
3 changed files with 9 additions and 74 deletions
35
Dockerfile
35
Dockerfile
|
@ -3,15 +3,13 @@ FROM quay.io/thallian/php7-fpm:latest
|
|||
ENV FPMUSER nginx
|
||||
ENV FPMGROUP nginx
|
||||
|
||||
ENV VERSION 10.0.1
|
||||
|
||||
RUN apk add --no-cache openssl tar nginx postgresql-client libtool g++ make
|
||||
|
||||
RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/main/ --allow-untrusted \
|
||||
libressl2.4-libcrypto \
|
||||
libressl2.4-libssl
|
||||
ENV VERSION 11.0.1
|
||||
|
||||
RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/community/ --allow-untrusted \
|
||||
RUN apk add --no-cache \
|
||||
libressl \
|
||||
tar \
|
||||
nginx \
|
||||
postgresql-client \
|
||||
php7 \
|
||||
php7-ctype \
|
||||
php7-curl \
|
||||
|
@ -34,27 +32,11 @@ RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/comm
|
|||
php7-mcrypt \
|
||||
php7-bz2 \
|
||||
php7-exif \
|
||||
php7-apcu \
|
||||
php7-ldap
|
||||
|
||||
RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted \
|
||||
php7-apcu
|
||||
|
||||
RUN ln -s /usr/bin/php7 /usr/bin/php
|
||||
|
||||
RUN rm /usr/bin/iconv
|
||||
RUN mkdir /tmp/iconv
|
||||
RUN wget -qO- https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz | tar xz -C /tmp/iconv --strip 1
|
||||
|
||||
WORKDIR /tmp/iconv
|
||||
ADD libiconv-1-fixes.patch /tmp/iconv/libiconv-1-fixes.patch
|
||||
RUN ./configure --prefix=/usr/local
|
||||
RUN patch -p1 -u < libiconv-1-fixes.patch
|
||||
RUN make && make install
|
||||
RUN libtool --finish /usr/local/lib
|
||||
RUN rm -r /tmp/iconv
|
||||
|
||||
ENV LD_PRELOAD /usr/local/lib/preloadable_libiconv.so
|
||||
|
||||
RUN mkdir /var/lib/nextcloud
|
||||
RUN wget -qO- https://download.nextcloud.com/server/releases/nextcloud-$VERSION.tar.bz2 | tar xj -C /var/lib/nextcloud --strip 1
|
||||
|
||||
|
@ -65,8 +47,7 @@ RUN chmod +x /var/lib/nextcloud/occ
|
|||
|
||||
RUN mkdir /run/nginx
|
||||
|
||||
RUN apk del tar libtool g++ make
|
||||
|
||||
RUN apk del tar
|
||||
ADD /rootfs /
|
||||
|
||||
VOLUME /var/lib/nextcloud/data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue