Skip to content

Commit

Permalink
refactor: Add build deps back in
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Nov 29, 2023
1 parent 16e3ffa commit 0e5f667
Show file tree
Hide file tree
Showing 16 changed files with 224 additions and 1 deletion.
14 changes: 14 additions & 0 deletions php-dev-base/php-7.4-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# pecl PHP extensions
pecl install \
Expand Down
14 changes: 14 additions & 0 deletions php-dev-base/php-8.0-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# pecl PHP extensions
pecl install \
Expand Down
14 changes: 14 additions & 0 deletions php-dev-base/php-8.1-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# pecl PHP extensions
pecl install \
Expand Down
14 changes: 14 additions & 0 deletions php-dev-base/php-8.2-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# pecl PHP extensions
pecl install \
Expand Down
14 changes: 14 additions & 0 deletions php-dev-craft/php-7.4-alpine/mariadb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# Packages to install
apk add --no-cache \
Expand Down
14 changes: 14 additions & 0 deletions php-dev-craft/php-7.4-alpine/postgres/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# Packages to install
apk add --no-cache \
Expand Down
14 changes: 14 additions & 0 deletions php-dev-craft/php-8.0-alpine/mariadb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# Packages to install
apk add --no-cache \
Expand Down
14 changes: 14 additions & 0 deletions php-dev-craft/php-8.0-alpine/postgres/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# Packages to install
apk add --no-cache \
Expand Down
15 changes: 14 additions & 1 deletion php-prod-base/php-7.4-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,23 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# Packages to install
apk add --no-cache \
$PHPIZE_DEPS \
bzip2-dev \
ca-certificates \
curl \
Expand Down
14 changes: 14 additions & 0 deletions php-prod-base/php-8.0-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# Packages to install
apk add --no-cache \
Expand Down
14 changes: 14 additions & 0 deletions php-prod-base/php-8.1-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# Packages to install
apk add --no-cache \
Expand Down
14 changes: 14 additions & 0 deletions php-prod-base/php-8.2-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# Packages to install
apk add --no-cache \
Expand Down
14 changes: 14 additions & 0 deletions php-prod-craft/php-7.4-alpine/mariadb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# Packages to install
apk add --no-cache \
Expand Down
14 changes: 14 additions & 0 deletions php-prod-craft/php-7.4-alpine/postgres/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# Packages to install
apk add --no-cache \
Expand Down
14 changes: 14 additions & 0 deletions php-prod-craft/php-8.0-alpine/mariadb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# Packages to install
apk add --no-cache \
Expand Down
14 changes: 14 additions & 0 deletions php-prod-craft/php-8.0-alpine/postgres/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ RUN set -eux; \
# Dependencies required for running "phpize"; the $PHPIZE_DEPS env var is inherited from the parent image
# These get automatically installed and removed by "docker-php-ext-*" (unless they're already installed)
$PHPIZE_DEPS \
# Build deps
autoconf \
dpkg-dev \
dpkg \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
libtool \
linux-headers \
wget \
&& \
# Packages to install
apk add --no-cache \
Expand Down

0 comments on commit 0e5f667

Please sign in to comment.