Compare commits

...

27 Commits
72 ... 162

Author SHA1 Message Date
Alex Phillips f265df7cbd Merge pull request #54 from tomtom5152/patch-1
Add imagemagick support for dynamic icon generation.
2018-12-17 15:03:03 -05:00
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
Tom Price d08683b5a7 Add imagemagick support for dynamic icon generation.
Install the additional packages required to support [theme icon generation](https://docs.nextcloud.com/server/13/admin_manual/configuration_server/theming.html#theming-of-icons).
2018-04-03 21:39:17 +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 c855b2a08b revert adding php7-redis 2018-01-25 22:20:43 +00:00
sparklyballs 743fda816f add php7-redis package 2018-01-25 22:09:56 +00:00
sparklyballs d4643180d2 bump alpine 3.7 2018-01-25 22:06:54 +00:00
sparklyballs 0cc6bdbea1 Merge pull request #47 from linuxserver/version_bump
bump install to 12.0.4 and fix continuation lines
2017-12-12 22:03:29 +00:00
sparklyballs e5dc93fd8e bump install to 12.0.4 and fix continuation lines 2017-12-12 14:36:09 +00:00
sparklyballs 705610b073 Merge pull request #45 from linuxserver/php_fixes
sed php.ini for opcache requirements
2017-10-15 18:55:03 +01:00
sparklyballs c4a8cafb98 sed php.ini for opcache requirements 2017-10-15 10:21:52 +01:00
sparklyballs a29fb57ce6 Merge pull request #43 from linuxserver/bump_12.03
bump default install to 12.0.3
2017-09-21 09:31:55 +01:00
sparklyballs 34122d554a bump default install to 12.0.3 2017-09-20 22:12:39 +01:00
aptalca be108f29c0 Merge pull request #42 from linuxserver/bump_12.0.2
bump default install to 12.0.2
2017-08-19 11:33:45 -04:00
sparklyballs 1acf245951 bump default install to 12.0.2 2017-08-19 00:43:36 +01:00
4 changed files with 40 additions and 29 deletions
+27 -27
View File
@@ -1,19 +1,16 @@
FROM lsiobase/alpine.nginx:3.6
MAINTAINER sparklyballs
FROM lsiobase/alpine.nginx:3.8
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="sparklyballs"
# package version
ENV NEXTCLOUD_VER="12.0.0"
# environment settings
# environment settings
ENV NEXTCLOUD_PATH="/config/www/nextcloud"
# install build-dependencies
RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
autoconf \
automake \
@@ -25,11 +22,11 @@ RUN \
re2c \
samba-dev \
zlib-dev && \
# install runtime packages
echo "**** install runtime packages ****" && \
apk add --no-cache \
curl \
ffmpeg \
imagemagick \
libxml2 \
php7-apcu \
php7-bz2 \
@@ -41,10 +38,10 @@ RUN \
php7-gd \
php7-gmp \
php7-iconv \
php7-imagick \
php7-imap \
php7-intl \
php7-ldap \
php7-mbstring \
php7-mcrypt \
php7-memcached \
php7-opcache \
@@ -54,44 +51,47 @@ RUN \
php7-pdo_sqlite \
php7-pgsql \
php7-posix \
php7-redis \
php7-sqlite3 \
php7-xml \
php7-xmlreader \
php7-zip \
samba \
sudo \
tar \
unzip && \
# fetch php smbclient source
echo "**** compile smbclient ****" && \
git clone git://github.com/eduardok/libsmbclient-php.git /tmp/smbclient && \
# compile smbclient
cd /tmp/smbclient && \
phpize7 && \
./configure \
--with-php-config=/usr/bin/php-config7 && \
make && \
make install && \
# uninstall build-dependencies
apk del --purge \
build-dependencies && \
# configure php and nginx for nextcloud
echo "**** configure php and nginx for nextcloud ****" && \
echo "extension="smbclient.so"" > /etc/php7/conf.d/00_smbclient.ini && \
sed -i \
's/;always_populate_raw_post_data = -1/always_populate_raw_post_data = -1/g' \
/etc/php7/php.ini && \
-e 's/;opcache.enable.*=.*/opcache.enable=1/g' \
-e 's/;opcache.interned_strings_buffer.*=.*/opcache.interned_strings_buffer=8/g' \
-e 's/;opcache.max_accelerated_files.*=.*/opcache.max_accelerated_files=10000/g' \
-e 's/;opcache.memory_consumption.*=.*/opcache.memory_consumption=128/g' \
-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 && \
# 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
+9
View File
@@ -81,6 +81,15 @@ 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.
+ **19.08.17:** Bump default install to 12.0.2.
+ **25.05.17:** Rebase to alpine 3.6.
+ **22.05.17:** Update to nextcloud 12.0, adding required dependecies and note about commenting out SAMEORIGIN; line.
+ **03.05.17:** Use community repo of memcached.
+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 \