From 40fc9ddabb44b81b6b326d0f5f09131d9df8ffb1 Mon Sep 17 00:00:00 2001 From: "Nathan J. Mehl" Date: Mon, 4 May 2026 11:06:17 -0400 Subject: [PATCH] fix compile error in docker image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 21be599..cd065b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,7 @@ ADD patches patches RUN export APPLY_PATCHES RUN ./script/apply-patches.sh -RUN ./configure \ +RUN CFLAGS="-g -O2 -std=gnu17" ./configure \ --prefix=/usr \ --sysconfdir=/etc/$pkgname \ --mandir=/usr/share/man \ @@ -77,7 +77,7 @@ RUN go install ./cmd/pgpool2_exporter/... ### ### put together everything in the deploy image ### -FROM --platform=${PLATFORM} alpine:${ALPINE_VERSION} as assemble +FROM --platform=${PLATFORM} alpine:${ALPINE_VERSION} AS assemble RUN apk update RUN apk add --no-cache curl python3