Merge pull request #3 from linuxserver/php7_edge

use edge repository for php dependencies
This commit is contained in:
Neil 2017-03-29 23:42:46 +01:00 committed by GitHub
commit bbca8bb1bc
2 changed files with 11 additions and 4 deletions

View File

@ -16,20 +16,27 @@ RUN \
gcc \
imagemagick-dev \
libtool \
make \
make && \
apk add --no-cache \
--repository http://nl.alpinelinux.org/alpine/edge/community \
php7-dev && \
# install runtime packages
apk add --no-cache \
--repository http://nl.alpinelinux.org/alpine/edge/main \
libwebp && \
apk add --no-cache \
imagemagick \
mc \
re2c && \
apk add --no-cache \
--repository http://nl.alpinelinux.org/alpine/edge/community \
php7-curl \
php7-exif \
php7-gd \
php7-mbstring \
php7-mysqlnd \
php7-zip \
re2c && \
php7-zip && \
# install lychee
mkdir -p \

View File

@ -7,7 +7,7 @@ mkdir -p \
for image_index in {big,import,medium,thumb}; do
if [ ! -f /pictures/${image_index}/index.html ]; then
mkdir -p /pictures/${image_index}
> /pictures/${image_index}/index.html
: > /pictures/${image_index}/index.html
fi
done