summaryrefslogtreecommitdiff
path: root/Dockerfile.arm32v7
diff options
context:
space:
mode:
authorAlexander Krause <akr@informatik.uni-kiel.de>2019-05-14 07:39:45 +0200
committerfguillot <fred@kanboard.net>2019-05-13 22:39:45 -0700
commit6957edc8b0bbacad526b9907eb8e38e464ec26db (patch)
tree2606501793046eec0cc1e1760ea2cbf694f4eb53 /Dockerfile.arm32v7
parentd5f6317608376bf55351185a76bb3d8817af1e2d (diff)
Add Dockerfile for arm32v7 (Raspberry Pi 3)
Diffstat (limited to 'Dockerfile.arm32v7')
-rw-r--r--Dockerfile.arm32v726
1 files changed, 26 insertions, 0 deletions
diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7
new file mode 100644
index 00000000..a25b37a1
--- /dev/null
+++ b/Dockerfile.arm32v7
@@ -0,0 +1,26 @@
+FROM arm32v7/alpine:3.9
+
+VOLUME /var/www/app/data
+VOLUME /var/www/app/plugins
+VOLUME /etc/nginx/ssl
+
+EXPOSE 80 443
+
+ARG VERSION
+
+RUN apk update && \
+ apk add openssl unzip nginx bash ca-certificates s6 curl ssmtp mailx php7 php7-phar php7-curl \
+ php7-fpm php7-json php7-zlib php7-xml php7-dom php7-ctype php7-opcache php7-zip php7-iconv \
+ php7-pdo php7-pdo_mysql php7-pdo_sqlite php7-pdo_pgsql php7-mbstring php7-session php7-bcmath \
+ php7-gd php7-mcrypt php7-openssl php7-sockets php7-posix php7-ldap php7-simplexml && \
+ rm -rf /var/cache/apk/* && \
+ rm -rf /var/www/localhost && \
+ rm -f /etc/php7/php-fpm.d/www.conf
+
+ADD . /var/www/app
+ADD docker/ /
+
+RUN rm -rf /var/www/app/docker && echo $VERSION > /version.txt
+
+ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
+CMD []