nextcloud: fixes #17

This commit is contained in:
Wonderfall
2016-07-30 19:26:07 +02:00
parent 1269a34a11
commit 98cc02aab1
4 changed files with 16 additions and 4 deletions

View File

@ -14,6 +14,7 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a
supervisor \
openssl \
ca-certificates \
libsmbclient \
tini@commuedge \
php7@testing \
php7-fpm@testing \
@ -32,16 +33,19 @@ RUN echo "@commuedge https://nl.alpinelinux.org/alpine/edge/community" >> /etc/a
php7-pdo_mysql@testing \
php7-pdo_pgsql@testing \
php7-pgsql@testing \
php7-sqlite3@testing \
php7-zlib@testing \
php7-zip@testing \
php7-xmlreader@testing \
php7-posix@testing \
php7-openssl@testing \
php7-ldap@testing \
php7-ftp@testing \
php7-apcu@testing \
php7-redis@testing \
&& mkdir /nextcloud && cd /tmp \
&& wget -q https://download.nextcloud.com/server/prereleases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2 \
&& tar xjf latest.tar.bz2 --strip 1 -C /nextcloud \
&& tar xjf nextcloud-${NEXTCLOUD_VERSION}.tar.bz2 --strip 1 -C /nextcloud \
&& apk del ${BUILD_DEPS} \
&& rm -rf /var/cache/apk/* /tmp/*
@ -60,6 +64,6 @@ VOLUME /data /config /apps2
EXPOSE 80
LABEL description="A server software for creating file hosting services" \
nextcloud="Nextcloud daily build"
nextcloud="Nextcloud ${NEXTCLOUD_VERSION}"
CMD ["/sbin/tini","--","run.sh"]