mirror of
https://github.com/linuxserver/docker-lychee.git
synced 2026-02-05 19:09:11 +08:00
Merge pull request #3 from linuxserver/php7_edge
use edge repository for php dependencies
This commit is contained in:
commit
bbca8bb1bc
13
Dockerfile
13
Dockerfile
@ -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 \
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user