]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Fix armhf Dockerfile
authorAgurato <mail.vmonot@gmail.com>
Sun, 2 Jun 2019 10:52:07 +0000 (12:52 +0200)
committerAgurato <mail.vmonot@gmail.com>
Sun, 2 Jun 2019 10:52:07 +0000 (12:52 +0200)
Dockerfile.armhf

index 1185e2df6d800656cf96c4d32fde2698f438fdf7..d1bf64d571c7b4476798554304fac40293bf73fa 100644 (file)
@@ -3,7 +3,7 @@
 # - Build documentation
 FROM arm32v6/alpine:3.8 as docs
 ADD . /usr/src/app/shaarli
-RUN apk --update --no-cache add py2-pip \
+RUN apk --update --no-cache add py2-pip  \
     && cd /usr/src/app/shaarli \
     && pip install --no-cache-dir mkdocs \
     && mkdocs build --clean
@@ -12,7 +12,7 @@ RUN apk --update --no-cache add py2-pip \
 # - Resolve PHP dependencies with Composer
 FROM arm32v6/alpine:3.8 as composer
 COPY --from=docs /usr/src/app/shaarli /app/shaarli
-RUN apk --update --no-cache add php7-mbstring composer \
+RUN apk --update --no-cache add php7-curl php7-mbstring composer \
     && cd /app/shaarli \
     && composer --prefer-dist --no-dev install
 
@@ -36,7 +36,6 @@ RUN apk --update --no-cache add \
         nginx \
         php7 \
         php7-ctype \
-        php7-curl \
         php7-fpm \
         php7-gd \
         php7-iconv \