Compare commits

..

7 Commits
2 .. 5

Author SHA1 Message Date
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
+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.52"