Skip to content

Commit 8baab9f

Browse files
authored
Merge pull request #6 from linuxserver/php7_edge
use edge repository for php dependencies
2 parents b76d886 + 45cbe38 commit 8baab9f

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

Dockerfile

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,31 @@ RUN \
1616
gcc \
1717
imagemagick-dev \
1818
libtool \
19-
make \
19+
make && \
20+
apk add --no-cache --virtual=build-dependencies \
21+
--repository http://nl.alpinelinux.org/alpine/edge/community \
2022
php7-dev && \
2123

2224
# install runtime packages
2325
apk add --no-cache \
2426
curl \
2527
imagemagick \
2628
lynx \
29+
re2c \
30+
unzip \
31+
wget && \
32+
apk add --no-cache \
33+
--repository http://nl.alpinelinux.org/alpine/edge/main \
34+
libwebp && \
35+
apk add --no-cache \
36+
--repository http://nl.alpinelinux.org/alpine/edge/community \
2737
php7-apcu \
2838
php7-cgi \
2939
php7-gd \
3040
php7-mysqlnd \
3141
php7-pear \
3242
php7-xmlrpc \
33-
php7-xsl \
34-
re2c \
35-
unzip \
36-
wget && \
43+
php7-xsl && \
3744

3845
# install php imagemagick
3946
mkdir -p \

0 commit comments

Comments
 (0)