Skip to content

Commit

Permalink
fix upgrade image build
Browse files Browse the repository at this point in the history
  • Loading branch information
egegunes committed Dec 23, 2024
1 parent c94e66d commit 453b605
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions postgresql-containers/build/upgrade/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,12 @@ RUN for pg_version in 16 15 14 13 12; do \
percona-postgresql${pg_version}-libs \
percona-postgresql${pg_version}-llvmjit \
percona-wal2json${pg_version} \
percona-pgvector_${pg_version}-llvmjit \
percona-pgvector_${pg_version} \
percona-pg_stat_monitor${pg_version}; \
done

# && microdnf -y clean all; \
# microdnf clean all; \
# rm -rf /var/cache/dnf /var/cache/yum
if [[ "${pg_version}" -gt 12 ]]; then \
microdnf -y install --nodocs percona-pgvector_${pg_version} percona-pgvector_${pg_version}-llvmjit; \
fi; \
done && microdnf -y clean all && rm -rf /var/cache/dnf /var/cache/yum

RUN mkdir -p /opt/crunchy/bin /pgolddata /pgnewdata /opt/crunchy/conf
COPY bin/upgrade/ /opt/crunchy/bin
Expand Down

0 comments on commit 453b605

Please sign in to comment.