Compare commits

..

10 Commits
1 .. 7

Author SHA1 Message Date
sparklyballs fc53a872bf bump to 9.0.53 2016-07-25 08:00:39 +01:00
sparklyballs 5dcb3b7ae5 Merge pull request #4 from CHBMB/master
Try this....
2016-07-09 18:47:14 +01:00
Neil fbe6da0390 Removed sudo from build dependencies 2016-07-09 18:38:50 +01:00
Neil 4103f446cb Sudo in runtime packages. 2016-07-09 18:38:27 +01:00
Neil b855ea95df Add sudo
Because of this issue...

https://lime-technology.com/forum/index.php?topic=50090.msg482388#msg482388
2016-07-09 17:23:11 +01:00
sparklyballs 190c8f9cca put nextcloud version env to bottom of dockerfile 2016-07-05 17:18:55 +01:00
sparklyballs 935142d4df Merge pull request #2 from sparklyballs/php-fix
always_populate_raw_post_data = -1 fix in php.ini
2016-07-05 15:04:54 +01:00
sparklyballs 22f3c83d5a always_populate_raw_post_data = -1 fix in php.ini 2016-07-05 14:51:42 +01:00
sparklyballs 5d386a8fe5 Merge pull request #1 from sparklyballs/startpermsfix
fix perms on start up
2016-07-01 11:16:35 +01:00
sparklyballs 71e8d86d9e fix perms on start up so upload limit can be set, make /data the default storage on first setup 2016-07-01 11:12:08 +01:00
3 changed files with 11 additions and 3 deletions
+8 -2
View File
@@ -1,8 +1,7 @@
FROM lsiobase/alpine.nginx
MAINTAINER sparklyballs
# set nextcloud version and path
ENV NEXTCLOUD_VER="9.0.51"
# set paths
ENV WWW_ROOT="/config/www"
ENV NEXTCLOUD_PATH="${WWW_ROOT}/nextcloud"
@@ -70,6 +69,7 @@ RUN \
php5-zip \
php5-zlib \
samba \
sudo \
tar \
unzip && \
apk add --no-cache --repository http://nl.alpinelinux.org/alpine/edge/testing \
@@ -81,6 +81,9 @@ RUN \
# configure php for nextcloud
RUN \
sed -i \
's/;always_populate_raw_post_data = -1/always_populate_raw_post_data = -1/g' \
/etc/php5/php.ini && \
echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /defaults/nginx-fpm.conf
# add local files
@@ -89,3 +92,6 @@ COPY root/ /
# ports and volumes
VOLUME /config /data
EXPOSE 443
# set nextcloud version
ENV NEXTCLOUD_VER="9.0.53"
+2 -1
View File
@@ -1,5 +1,6 @@
<?php
$CONFIG = array (
'memcache.local' => '\OC\Memcache\APCu',
'datadirectory' => '/data',
);
+1
View File
@@ -10,4 +10,5 @@ cd /tmp || true
unzip nextcloud.zip
mv /tmp/nextcloud "${NEXTCLOUD_PATH}"
rm -f /tmp/nextcloud.zip
chown abc:abc -R "${NEXTCLOUD_PATH}"
fi