Add custom container image builds
Build custom container images / build (map[build_args:PG_VERSION=18 POSTGIS_VERSION=3 VCHORD_VERSION=0.5.3 context:postgres name:postgres-custom tags:git.ajpanton.se/ajp_anton/postgres-custom:18 git.ajpanton.se/ajp_anton/postgres-custom:18-postgis3-vchord0.5.3 git.ajpanton.se/ajp_an… (push) Failing after 2m39s
Build custom container images / build (map[build_args:PHP_VERSION=8 context:php8-pgsql name:php8-pgsql tags:git.ajpanton.se/ajp_anton/php8-pgsql:8 git.ajpanton.se/ajp_anton/php8-pgsql:8-fpm-alpine git.ajpanton.se/ajp_anton/php8-pgsql:latest ]) (push) Failing after 16s

This commit is contained in:
ajp_anton
2026-06-22 22:07:53 +00:00
commit 696033c63a
6 changed files with 162 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
ARG PHP_VERSION=8
FROM php:${PHP_VERSION}-fpm-alpine AS build
RUN set -eux; \
apk add --no-cache postgresql-dev; \
docker-php-ext-install pdo_pgsql
FROM php:${PHP_VERSION}-fpm-alpine
RUN set -eux; \
apk add --no-cache libpq
COPY --from=build /usr/local/lib/php/extensions/ /usr/local/lib/php/extensions/
COPY --from=build /usr/local/etc/php/conf.d/ /usr/local/etc/php/conf.d/