Compare commits

..

15 Commits

Author SHA1 Message Date
Alex Phillips 4682702c63 Merge pull request #72 from linuxserver/increased-memory-limit
increased php memory_limit per nextcloud's warnings
2018-12-11 15:13:42 -05:00
alex-phillips b93694ff8d increased php memory_limit per nextcloud's warnings 2018-12-11 14:09:50 -05:00
Homer d840dce905 Merge pull request #62 from linuxserver/NC14
Update `default`
2018-09-29 08:57:00 +01:00
chbmb f8225c49dd Update default 2018-09-29 07:52:26 +01:00
sparklyballs f05950af7d Merge pull request #58 from linuxserver/rebase_alpine_3.8
rebase to alpine 3.8
2018-09-05 19:14:38 +01:00
sparklyballs 002dff07ea rebase to alpine 3.8 2018-09-05 18:22:37 +01:00
sparklyballs 3b169e9d01 Merge pull request #56 from linuxserver/use_latest
use latest rather than specific version for initial install
2018-06-11 14:36:08 +01:00
sparklyballs ac0ee5d01d use latest rather than specific version for initial install 2018-06-11 11:11:13 +01:00
sparklyballs 78d4d427e7 Merge pull request #55 from linuxserver/bump_13.0.1
bump default install to 13.0.1
2018-04-26 13:28:46 +01:00
sparklyballs 1824219e79 bump default install to 13.0.1 2018-04-26 09:46:54 +01:00
chbmb b8d97ff66d Merge pull request #51 from linuxserver/nextcloud_13
bump default install to 13
2018-02-06 22:36:08 +00:00
sparklyballs ec4da50224 bump default install to 13 2018-02-06 12:22:52 +00:00
sparklyballs 1cc613b677 Merge pull request #50 from linuxserver/alpine_3.7
bump alpine 3.7
2018-01-26 15:39:17 +00:00
sparklyballs 9878957017 bump alpine 3.7 2018-01-25 22:23:28 +00:00
sparklyballs d4643180d2 bump alpine 3.7 2018-01-25 22:06:54 +00:00
4 changed files with 16 additions and 12 deletions
+7 -10
View File
@@ -1,4 +1,4 @@
FROM lsiobase/alpine.nginx:3.6
FROM lsiobase/alpine.nginx:3.8
# set version label
ARG BUILD_DATE
@@ -6,10 +6,7 @@ ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="sparklyballs"
# package version
ENV NEXTCLOUD_VER="12.0.4"
# environment settings
# environment settings
ENV NEXTCLOUD_PATH="/config/www/nextcloud"
RUN \
@@ -43,7 +40,6 @@ RUN \
php7-imap \
php7-intl \
php7-ldap \
php7-mbstring \
php7-mcrypt \
php7-memcached \
php7-opcache \
@@ -53,8 +49,8 @@ RUN \
php7-pdo_sqlite \
php7-pgsql \
php7-posix \
php7-redis \
php7-sqlite3 \
php7-xml \
php7-xmlreader \
php7-zip \
samba \
@@ -79,20 +75,21 @@ RUN \
-e 's/;opcache.save_comments.*=.*/opcache.save_comments=1/g' \
-e 's/;opcache.revalidate_freq.*=.*/opcache.revalidate_freq=1/g' \
-e 's/;always_populate_raw_post_data.*=.*/always_populate_raw_post_data=-1/g' \
-e 's/memory_limit.*=.*128M/memory_limit=512M/g' \
/etc/php7/php.ini && \
sed -i \
'/opcache.enable=1/a opcache.enable_cli=1' \
/etc/php7/php.ini && \
echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php7/php-fpm.conf && \
echo "**** cleanup ****" && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
/tmp/*
# copy local files
# copy local files
COPY root/ /
# ports and volumes
# ports and volumes
EXPOSE 443
VOLUME /config /data
+5
View File
@@ -81,6 +81,11 @@ If updating to nextcloud 12 you will need to comment out line `add_header X-Fram
## Versions
+ **05.09.18:** Rebase to alpine 3.8.
+ **11.06.18:** Use latest rather than specific version for initial install.
+ **26.04.18:** Bump default install to 13.0.1.
+ **06.02.18:** Bump default install to 13.0.0.
+ **26.01.18:** Rebase to alpine 3.7, bump default install to 12.0.5.
+ **12.12.17:** Bump default install to 12.0.4, fix continuation lines.
+ **15.10.17:** Sed php.ini for opcache requirements in newer nextcloud versions.
+ **20.09.17:** Bump default install to 12.0.3.
+3 -1
View File
@@ -25,7 +25,8 @@ server {
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer always;
# Path to the root of your installation
root /config/www/nextcloud/;
# set max upload size
@@ -97,6 +98,7 @@ server {
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer always;
# Optional: Don't log access to assets
access_log off;
}
+1 -1
View File
@@ -7,7 +7,7 @@ mkdir -p \
# install app
if [ ! -e "${NEXTCLOUD_PATH}/index.php" ]; then
curl -o /tmp/nextcloud.tar.bz2 -L \
https://download.nextcloud.com/server/releases/nextcloud-"${NEXTCLOUD_VER}".tar.bz2
https://download.nextcloud.com/server/releases/latest.tar.bz2
tar xf /tmp/nextcloud.tar.bz2 -C \
"${NEXTCLOUD_PATH}" --strip-components=1
rm -f \