Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-php-debug-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
echo "Latest version in ${{ matrix.php-version }} is ${PHP_VERSION}"

- name: Build and push ${{ env.PHP_VERSION }} as ${{ matrix.php-version }}-${{ matrix.os }} to ghcr.io
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
push: true
file: docker/Dockerfile.${{ matrix.os }}
Expand Down
14 changes: 2 additions & 12 deletions docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
ARG ALPINE_VERSION=alpine:3.20
FROM ${ALPINE_VERSION} as builder
FROM ${ALPINE_VERSION} AS builder
WORKDIR /usr/src

ENV PHPIZE_DEPS \
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c
ENV PHPIZE_DEPS="autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c"

RUN apk add --no-cache \
${PHPIZE_DEPS} \
Expand Down
11 changes: 1 addition & 10 deletions docker/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,7 @@ RUN apt-get update \
gdbserver \
valgrind

ENV PHPIZE_DEPS \
autoconf \
dpkg-dev \
file \
g++ \
gcc \
libc-dev \
make \
pkg-config \
re2c
ENV PHPIZE_DEPS="autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c"

RUN apt-get update -y \
&& apt-get install -y \
Expand Down