aboutsummaryrefslogtreecommitdiff
path: root/docker/nextcloud/Dockerfile
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-07-05 22:54:47 +0200
committerAlex Auvolat <alex@adnab.me>2020-07-05 22:55:00 +0200
commitc344dacb65e967bef7a06e34adb02494d98cde77 (patch)
tree6da8818681683ceaaa6271f4023c2371e87a4b3f /docker/nextcloud/Dockerfile
parent5e83c8e5fe8f5b9566673e96c6d963bc8d0129d6 (diff)
downloadinfrastructure-c344dacb65e967bef7a06e34adb02494d98cde77.tar.gz
infrastructure-c344dacb65e967bef7a06e34adb02494d98cde77.zip
Add garage and nextcloud configuration
Diffstat (limited to 'docker/nextcloud/Dockerfile')
-rw-r--r--docker/nextcloud/Dockerfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/docker/nextcloud/Dockerfile b/docker/nextcloud/Dockerfile
new file mode 100644
index 0000000..9f817f6
--- /dev/null
+++ b/docker/nextcloud/Dockerfile
@@ -0,0 +1,27 @@
+FROM debian:10
+
+RUN apt-get update && \
+ apt-get -qq -y full-upgrade
+
+RUN apt-get install -y apache2 php php-gd php-mbstring php-pgsql php-curl php-dom php-xml php-zip \
+ php-intl php-ldap php-fileinfo php-exif php-apcu php-redis php-imagick unzip curl wget && \
+ phpenmod gd && \
+ phpenmod curl && \
+ phpenmod mbstring && \
+ phpenmod pgsql && \
+ phpenmod dom && \
+ phpenmod zip && \
+ phpenmod intl && \
+ phpenmod ldap && \
+ phpenmod fileinfo && \
+ phpenmod exif && \
+ phpenmod apcu && \
+ phpenmod redis && \
+ phpenmod imagick && \
+ phpenmod xml
+
+COPY container-setup.sh /tmp
+RUN /tmp/container-setup.sh
+
+COPY entrypoint.sh /
+CMD /entrypoint.sh