File tree Expand file tree Collapse file tree 3 files changed +20
-3
lines changed
Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1+ *
2+ ! .dockerignore
3+ ! Dockerfile
4+ ! deployer.phar
Original file line number Diff line number Diff line change 6969 platforms : linux/amd64,linux/arm64
7070 push : true
7171 provenance : true
72+ cache-from : type=gha
73+ cache-to : type=gha,mode=max
7274 tags : ${{ steps.meta.outputs.tags }}
7375 labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change 11FROM php:8.4-cli-alpine
22
3- RUN apk update && apk add --no-cache linux-headers bash git openssh-client rsync zip unzip libzip-dev curl-dev
4-
5- RUN docker-php-ext-install pcntl sockets curl zip
3+ RUN set -eux; \
4+ apk add --no-cache \
5+ bash \
6+ git \
7+ libzip \
8+ openssh-client \
9+ rsync \
10+ unzip \
11+ zip; \
12+ apk add --no-cache --virtual .build-deps \
13+ libzip-dev \
14+ linux-headers; \
15+ docker-php-ext-install -j"$(nproc)" pcntl sockets zip; \
16+ apk del .build-deps
617
718COPY --chmod=755 deployer.phar /bin/dep
819
You can’t perform that action at this time.
0 commit comments