Skip to content

Commit

Permalink
INSIGHTS-212 - [plugin] release postgres-partman upgraded image (#946)
Browse files Browse the repository at this point in the history
* upgrade pg and pg_partman

* include clang15 llvm15 for building pg_partman

* changing it back to bitnami as base image
  • Loading branch information
vitorvezani authored Jul 23, 2024
1 parent f08a8f8 commit c2a8403
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
6 changes: 5 additions & 1 deletion plugins/postgres-partman/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 16.0.0
* upgrade to postgres 16.3
* upgrade to pg_partman 5.1.0

## 14.8.0
* upgrading postgres version

Expand All @@ -10,7 +14,7 @@
* Bump bitnami postgres base image tag

## 14.4.1
* Using bitinami image as parent
* Using bitnami image as parent

## 14.4.0
* Initial release
17 changes: 9 additions & 8 deletions plugins/postgres-partman/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
FROM postgres:14.10-alpine3.19
# do not change bitnami base image as it is required for kubernetes deployment
FROM bitnami/postgresql:16.3.0-debian-12-r21

USER root
ENV PG_PARTMAN_VERSION v4.6.2

RUN apk -U upgrade
RUN apk update && apk upgrade

RUN apk add curl make gcc libc-dev postgresql-dev

RUN curl -L https://github.com/pgpartman/pg_partman/archive/$PG_PARTMAN_VERSION.tar.gz -o "pg_partman.tar.gz"
ENV PG_PARTMAN_VERSION v5.1.0
RUN apt-get update
RUN install_packages wget
RUN install_packages make
RUN install_packages gcc
RUN install_packages libc6-dev
RUN wget -O pg_partman.tar.gz "https://github.com/pgpartman/pg_partman/archive/refs/tags/$PG_PARTMAN_VERSION.tar.gz"
RUN mkdir -p /usr/src/pg_partman \
&& tar \
--extract \
Expand Down
2 changes: 1 addition & 1 deletion plugins/postgres-partman/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.8.0
16.0.0

0 comments on commit c2a8403

Please sign in to comment.