Update Dockerfile; Remove verbosity again …

This commit is contained in:
thomas-ganter 2021-02-14 17:08:54 +01:00
parent ca0f30e693
commit a357087014
1 changed files with 5 additions and 4 deletions

View File

@ -4,8 +4,8 @@ WORKDIR /work
RUN \
apk update && \
apk add curl && \
curl --dns-servers 1.1.1.1,8.8.8.8 -v -v -L -o master.zip https://github.com/getkirby/plainkit/archive/master.zip && \
unzip master.zip && \
curl -L -o master.zip https://github.com/getkirby/plainkit/archive/master.zip && \
unzip -qq master.zip && \
cd plainkit-master && \
rm -rf README.md .editorconfig .gitignore .htaccess composer.json
@ -17,7 +17,8 @@ EXPOSE 9000
WORKDIR /site
RUN \
apk update && apk add freetype-dev libjpeg-turbo-dev libpng-dev && \
docker-php-ext-configure gd --with-freetype --with-jpeg && \
apk update && \
apk add --quiet --no-progress freetype-dev libjpeg-turbo-dev libpng-dev && \
docker-php-ext-configure gd --with-freetype --with-jpeg && \
docker-php-ext-install -j$(nproc) gd
COPY --from=builder /work/plainkit-master /site