Compare commits

..

7 Commits

Author SHA1 Message Date
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
2 changed files with 17 additions and 22 deletions
+15 -22
View File
@@ -1,19 +1,19 @@
FROM lsiobase/alpine.nginx:3.6 FROM lsiobase/alpine.nginx:3.7
MAINTAINER sparklyballs
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
ARG VERSION ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="sparklyballs"
# package version # package version
ENV NEXTCLOUD_VER="12.0.3" ENV NEXTCLOUD_VER="12.0.5"
# environment settings # environment settings
ENV NEXTCLOUD_PATH="/config/www/nextcloud" ENV NEXTCLOUD_PATH="/config/www/nextcloud"
# install build-dependencies
RUN \ RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \ apk add --no-cache --virtual=build-dependencies \
autoconf \ autoconf \
automake \ automake \
@@ -25,8 +25,7 @@ RUN \
re2c \ re2c \
samba-dev \ samba-dev \
zlib-dev && \ zlib-dev && \
echo "**** install runtime packages ****" && \
# install runtime packages
apk add --no-cache \ apk add --no-cache \
curl \ curl \
ffmpeg \ ffmpeg \
@@ -54,6 +53,7 @@ RUN \
php7-pdo_sqlite \ php7-pdo_sqlite \
php7-pgsql \ php7-pgsql \
php7-posix \ php7-posix \
php7-redis \
php7-sqlite3 \ php7-sqlite3 \
php7-xml \ php7-xml \
php7-xmlreader \ php7-xmlreader \
@@ -62,23 +62,15 @@ RUN \
sudo \ sudo \
tar \ tar \
unzip && \ unzip && \
echo "**** compile smbclient ****" && \
# fetch php smbclient source
git clone git://github.com/eduardok/libsmbclient-php.git /tmp/smbclient && \ git clone git://github.com/eduardok/libsmbclient-php.git /tmp/smbclient && \
# compile smbclient
cd /tmp/smbclient && \ cd /tmp/smbclient && \
phpize7 && \ phpize7 && \
./configure \ ./configure \
--with-php-config=/usr/bin/php-config7 && \ --with-php-config=/usr/bin/php-config7 && \
make && \ make && \
make install && \ make install && \
echo "**** configure php and nginx for nextcloud ****" && \
# uninstall build-dependencies
apk del --purge \
build-dependencies && \
# configure php and nginx for nextcloud
echo "extension="smbclient.so"" > /etc/php7/conf.d/00_smbclient.ini && \ echo "extension="smbclient.so"" > /etc/php7/conf.d/00_smbclient.ini && \
sed -i \ sed -i \
-e 's/;opcache.enable.*=.*/opcache.enable=1/g' \ -e 's/;opcache.enable.*=.*/opcache.enable=1/g' \
@@ -93,14 +85,15 @@ RUN \
'/opcache.enable=1/a opcache.enable_cli=1' \ '/opcache.enable=1/a opcache.enable_cli=1' \
/etc/php7/php.ini && \ /etc/php7/php.ini && \
echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php7/php-fpm.conf && \ echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /etc/php7/php-fpm.conf && \
echo "**** cleanup ****" && \
# cleanup apk del --purge \
build-dependencies && \
rm -rf \ rm -rf \
/tmp/* /tmp/*
# copy local files # copy local files
COPY root/ / COPY root/ /
# ports and volumes # ports and volumes
EXPOSE 443 EXPOSE 443
VOLUME /config /data VOLUME /config /data
+2
View File
@@ -81,6 +81,8 @@ If updating to nextcloud 12 you will need to comment out line `add_header X-Fram
## Versions ## Versions
+ **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. + **15.10.17:** Sed php.ini for opcache requirements in newer nextcloud versions.
+ **20.09.17:** Bump default install to 12.0.3. + **20.09.17:** Bump default install to 12.0.3.
+ **19.08.17:** Bump default install to 12.0.2. + **19.08.17:** Bump default install to 12.0.2.