aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker/alpine/Dockerfile.armhf.master
diff options
context:
space:
mode:
authorVirtualTam <virtualtam+github@flibidi.net>2018-06-20 16:29:27 +0200
committerGitHub <noreply@github.com>2018-06-20 16:29:27 +0200
commit5420c87e22570c8aface1dfe5fc1f54bd6bb4845 (patch)
tree8a9587a53f0161fe95141d982ff4cea40075372b /docker/alpine/Dockerfile.armhf.master
parente36479d9ffd71b504bc99501ea1fef2579ff46b6 (diff)
parentdecae8c119e0f4750d10909abc47d8afb89af362 (diff)
downloadShaarli-5420c87e22570c8aface1dfe5fc1f54bd6bb4845.tar.gz
Shaarli-5420c87e22570c8aface1dfe5fc1f54bd6bb4845.tar.zst
Shaarli-5420c87e22570c8aface1dfe5fc1f54bd6bb4845.zip
Merge pull request #1157 from virtualtam/v0.9-dockerfile
v0.9 - Build the Docker images from the local sources
Diffstat (limited to 'docker/alpine/Dockerfile.armhf.master')
-rw-r--r--docker/alpine/Dockerfile.armhf.master47
1 files changed, 0 insertions, 47 deletions
diff --git a/docker/alpine/Dockerfile.armhf.master b/docker/alpine/Dockerfile.armhf.master
deleted file mode 100644
index 7f1bdf85..00000000
--- a/docker/alpine/Dockerfile.armhf.master
+++ /dev/null
@@ -1,47 +0,0 @@
1FROM lsiobase/alpine.armhf:3.6
2MAINTAINER Shaarli Community
3
4RUN apk --update --no-cache add \
5 ca-certificates \
6 curl \
7 nginx \
8 php7 \
9 php7-ctype \
10 php7-curl \
11 php7-fpm \
12 php7-gd \
13 php7-iconv \
14 php7-intl \
15 php7-json \
16 php7-mbstring \
17 php7-openssl \
18 php7-phar \
19 php7-session \
20 php7-xml \
21 php7-zlib \
22 s6
23
24COPY nginx.conf /etc/nginx/nginx.conf
25COPY php-fpm.conf /etc/php7/php-fpm.conf
26COPY services.d /etc/services.d
27
28RUN curl -sS https://getcomposer.org/installer | php7 -- --install-dir=/usr/local/bin --filename=composer \
29 && rm -rf /etc/php7/php-fpm.d/www.conf \
30 && sed -i 's/post_max_size.*/post_max_size = 10M/' /etc/php7/php.ini \
31 && sed -i 's/upload_max_filesize.*/upload_max_filesize = 10M/' /etc/php7/php.ini
32
33
34WORKDIR /var/www
35RUN curl -L https://github.com/shaarli/Shaarli/archive/master.tar.gz | tar xzf - \
36 && mv Shaarli-master shaarli \
37 && cd shaarli \
38 && composer --prefer-dist --no-dev install \
39 && rm -rf ~/.composer \
40 && chown -R nginx:nginx .
41
42VOLUME /var/www/shaarli/data
43
44EXPOSE 80
45
46ENTRYPOINT ["/bin/s6-svscan", "/etc/services.d"]
47CMD []