Compare commits

..

31 Commits
1 .. 45

Author SHA1 Message Date
sparklyballs db5bd27bdb Merge pull request #16 from linuxserver/11.0.1
Update Dockerfile
2017-01-22 22:47:43 +00:00
Neil 71a4b574ce Update Dockerfile 2017-01-22 22:40:43 +00:00
sparklyballs b24fecdd3c bump to version 11 for initial installation. 2016-12-22 02:14:21 +00:00
sparklyballs 278b197c87 Merge pull request #13 from linuxserver/CHBMB-patch-1
Update Dockerfile
2016-12-11 20:37:50 +00:00
Neil 62259e8164 Update Dockerfile 2016-12-11 20:26:35 +00:00
sparklyballs 9514482eef add version layer information 2016-10-14 15:18:00 +01:00
sparklyballs aac5ddb66f update media links README 2016-10-07 10:17:14 +01:00
sparklyballs c014556ca9 bump default installed to 10.0.1 2016-10-07 07:34:38 +01:00
sparklyballs 1abc67db8c update image link 2016-10-05 12:03:27 +01:00
sparklyballs 01111c0a0f transcode folder change, bump to 1.7, add ignore and templates 2016-09-17 02:38:24 +01:00
sparklyballs 78fb8e7c91 change version to 10.0.0 2016-09-12 20:00:27 +01:00
sparklyballs 216a8827fb Merge pull request #9 from sparklyballs/tidy-and-use-tar-bz2
Tidy and use tar bz2
2016-08-22 12:16:56 +01:00
sparklyballs 19a0c175df tidy up in general, use tar.bz2 instead of zip 2016-08-22 12:12:55 +01:00
sparklyballs bb9545a21f tidy up in general, use tar.bz2 instead of zip 2016-08-22 12:11:48 +01:00
sparklyballs 768582abc0 tidy up in general, use tar.bz2 instead of zip 2016-08-22 12:09:22 +01:00
j0nnymoe f42bb84f18 Merge pull request #7 from sparklyballs/postgres
readd back php5-pgsql
2016-08-17 11:59:03 +01:00
sparklyballs 32e490a6ec readd back php5-pgsql 2016-08-17 11:52:29 +01:00
sparklyballs 97c478a14f Merge pull request #6 from sparklyballs/master
clean up second php5 pgsql dependency
2016-08-02 03:46:23 +01:00
sparklyballs 3000347ea3 clean up second php5 pgsql dependency 2016-08-02 03:45:39 +01:00
sparklyballs 1310ff6d9e Merge pull request #5 from sparklyballs/cron
add cron job
2016-07-26 01:50:35 +01:00
sparklyballs 0c3d8a709d add cron job 2016-07-26 01:43:43 +01:00
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
13 changed files with 184 additions and 50 deletions
+6
View File
@@ -0,0 +1,6 @@
.git
.gitignore
.github
.gitattributes
READMETEMPLATE.md
README.md
+17
View File
@@ -0,0 +1,17 @@
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
+21
View File
@@ -0,0 +1,21 @@
<!--- Provide a general summary of the issue in the Title above -->
[linuxserverurl]: https://linuxserver.io
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
<!--- If you have an issue with the project, please provide us with the following information -->
<!--- Host OS -->
<!--- Command line users, your run/create command, GUI/Unraid users, a screenshot of your template settings. -->
<!--- Docker log output, docker log <container-name> -->
<!--- Mention if you're using symlinks on any of the volume mounts. -->
<!--- If you have a suggestion or fix for the project, please provide us with the following information -->
<!--- What you think your suggestion brings to the project, or fixes with the project -->
<!--- If it's a fix, would it be better suited as a Pull request to the repo ? -->
## Thanks, team linuxserver.io
+15
View File
@@ -0,0 +1,15 @@
<!--- Provide a general summary of your changes in the Title above -->
[linuxserverurl]: https://linuxserver.io
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
<!--- Before submitting a pull request please check the following -->
<!--- That you have made a branch in your fork, we'd rather not merge from your master -->
<!--- That if the PR is addressing an existing issue include, closes #<issue number> , in the body of the PR commit message -->
<!--- You have included links to any files / patches etc your PR may be using in the body of the PR commit message -->
<!--- -->
## Thanks, team linuxserver.io
+43
View File
@@ -0,0 +1,43 @@
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
# Windows shortcuts
*.lnk
# =========================
# Operating System Files
# =========================
# OSX
# =========================
.DS_Store
.AppleDouble
.LSOverride
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
+41 -33
View File
@@ -1,10 +1,16 @@
FROM lsiobase/alpine.nginx
MAINTAINER sparklyballs
# set nextcloud version and path
ENV NEXTCLOUD_VER="9.0.51"
ENV WWW_ROOT="/config/www"
ENV NEXTCLOUD_PATH="${WWW_ROOT}/nextcloud"
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
# package version
ENV NEXTCLOUD_VER="11.0.1"
# environment settings
ENV NEXTCLOUD_PATH="/config/www/nextcloud"
# install build-dependencies
RUN \
@@ -20,25 +26,7 @@ RUN \
samba-dev \
zlib-dev && \
# fetch php smbclient source
git clone git://github.com/eduardok/libsmbclient-php.git /tmp/smbclient && \
# compile smbclient
cd /tmp/smbclient && \
phpize && \
./configure && \
make && \
make install && \
# uninstall build-dependencies
apk del --purge \
build-dependencies && \
# cleanup
rm -rfv /tmp/*
# install runtime packages
RUN \
apk add --no-cache \
curl \
ffmpeg \
@@ -59,10 +47,10 @@ RUN \
php5-mcrypt \
php5-openssl \
php5-pcntl \
php5-pgsql \
php5-pdo_mysql \
php5-pdo_pgsql \
php5-pdo_sqlite \
php5-pgsql \
php5-posix \
php5-sqlite3 \
php5-xml \
@@ -70,22 +58,42 @@ RUN \
php5-zip \
php5-zlib \
samba \
sudo \
tar \
unzip && \
apk add --no-cache --repository http://nl.alpinelinux.org/alpine/edge/testing \
php5-memcached
# configure php extensions
RUN \
echo "extension="smbclient.so"" >> /etc/php5/php.ini
apk add --no-cache \
--repository http://nl.alpinelinux.org/alpine/edge/testing \
php5-memcached && \
# configure php for nextcloud
RUN \
echo "env[PATH] = /usr/local/bin:/usr/bin:/bin" >> /defaults/nginx-fpm.conf
# fetch php smbclient source
git clone git://github.com/eduardok/libsmbclient-php.git /tmp/smbclient && \
# add local files
# compile smbclient
cd /tmp/smbclient && \
phpize && \
./configure && \
make && \
make install && \
# uninstall build-dependencies
apk del --purge \
build-dependencies && \
# configure php and nginx for nextcloud
echo "extension="smbclient.so"" >> /etc/php5/php.ini && \
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 && \
# cleanup
rm -rf \
/tmp/*
# copy local files
COPY root/ /
# ports and volumes
VOLUME /config /data
EXPOSE 443
VOLUME /config /data
+9 -4
View File
@@ -1,6 +1,11 @@
![https://linuxserver.io](http://www.linuxserver.io/wp-content/uploads/2015/06/linuxserver_medium.png)
![https://linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)
## This is a Container in active development by the [LinuxServer.io](https://linuxserver.io) team and is not recommended for use by the general public.
If you want to comment\contribute on this container , are looking for support on any of our other work , or are curious about us in general, check out the following.
* [forum.linuxserver.io](https://forum.linuxserver.io)
* [IRC](https://www.linuxserver.io/irc/) on freenode at `#linuxserver.io`
* [Podcast](https://www.linuxserver.io/podcast/) covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!
## This is a Container in active development, and should not be used by the general public.
If you are curious about the current progress or want to comment\contribute to this work, feel free to join us at our irc channel:
[IRC](https://www.linuxserver.io/index.php/irc/) on freenode at `#linuxserver.io` or visit our website at [https://linuxserver.io](https://www.linuxserver.io/).
+2 -1
View File
@@ -1,5 +1,6 @@
<?php
$CONFIG = array (
'memcache.local' => '\OC\Memcache\APCu',
'datadirectory' => '/data',
);
+1
View File
@@ -0,0 +1 @@
*/15 * * * * s6-setuidgid abc php -f /config/www/nextcloud/cron.php
+5 -2
View File
@@ -1,5 +1,8 @@
#!/usr/bin/with-contenv bash
# permissions
chown abc:abc /config /data
chown -R abc:abc /var/lib/nginx
chown abc:abc \
/config \
/data
chown -R abc:abc \
/var/lib/nginx
+15 -8
View File
@@ -1,13 +1,20 @@
#!/usr/bin/with-contenv bash
mkdir -p "${WWW_ROOT}"
chown abc:abc "${WWW_ROOT}"
# create folders
mkdir -p \
"${NEXTCLOUD_PATH}"
# install app
if [ ! -e "${NEXTCLOUD_PATH}/index.php" ]; then
curl -o /tmp/nextcloud.zip -L \
https://download.nextcloud.com/server/releases/nextcloud-"${NEXTCLOUD_VER}".zip
cd /tmp || true
unzip nextcloud.zip
mv /tmp/nextcloud "${NEXTCLOUD_PATH}"
rm -f /tmp/nextcloud.zip
curl -o /tmp/nextcloud.tar.bz2 -L \
https://download.nextcloud.com/server/releases/nextcloud-"${NEXTCLOUD_VER}".tar.bz2
tar xf /tmp/nextcloud.tar.bz2 -C \
"${NEXTCLOUD_PATH}" --strip-components=1
rm -f \
/tmp/nextcloud.tar.bz2
chown abc:abc -R \
"${NEXTCLOUD_PATH}"
fi
# set cronjob
crontab /defaults/nextcloud
+6 -2
View File
@@ -1,5 +1,9 @@
#!/usr/bin/with-contenv bash
[[ ! -f /config/www/nextcloud/config/config.php ]] && cp /defaults/config.php /config/www/nextcloud/config/config.php
# copy config
[[ ! -f /config/www/nextcloud/config/config.php ]] && \
cp /defaults/config.php /config/www/nextcloud/config/config.php
chown abc:abc /config/www/nextcloud/config/config.php
# permissions
chown abc:abc \
/config/www/nextcloud/config/config.php
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bash
/usr/sbin/crond -f -S -l 0 -c /etc/crontabs