Merge branch 'master' of code.ungleich.ch:germanzero/kirby into master

This commit is contained in:
Thomas Ganter 2021-03-16 08:33:02 +01:00
commit 5934b1d2be
1 changed files with 9 additions and 2 deletions

View File

@ -4,8 +4,8 @@ WORKDIR /work
RUN \
apk update && \
apk add curl && \
curl -L -o master.zip https://github.com/getkirby/plainkit/archive/main.zip && \
unzip master.zip && \
curl --retry 5 -L -o master.zip https://github.com/getkirby/plainkit/archive/main.zip && \
unzip -qq master.zip && \
cd plainkit-main && \
rm -rf README.md .editorconfig .gitignore .htaccess composer.json
@ -20,4 +20,11 @@ COPY UCQ1Lrae /work/plainkit-main/site/accounts/UCQ1Lrae
FROM php:8-fpm-alpine3.13
EXPOSE 9000
WORKDIR /site
RUN \
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-main /site