Skip to content

Commit

Permalink
Merge pull request #1120 from percona/K8SPG-699-fix-builds
Browse files Browse the repository at this point in the history
  • Loading branch information
eleo007 authored Jan 25, 2025
2 parents 555bba1 + 6f69915 commit 76115fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions postgresql-containers/build/postgres/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# syntax=docker/dockerfile-upstream:master

FROM golang:1.22 AS go_builder
WORKDIR /go/src/github.com/mikefarah/yq

Expand Down Expand Up @@ -91,8 +93,7 @@ RUN set -ex; \
microdnf -y clean all

# Preserving PGVERSION out of paranoia
ARG PGVERSION="${PG_MAJOR%%.*}"
ENV PGROOT="/usr/pgsql-$PGVERSION" PGVERSION="$PGVERSION"
ENV PGROOT="/usr/pgsql-${PG_MAJOR%%.*}" PGVERSION="${PG_MAJOR%%.*}"

RUN set -ex; \
microdnf -y install \
Expand Down

0 comments on commit 76115fe

Please sign in to comment.