Skip to content

Commit cc24cdd

Browse files
committed
feat: use partman v0.4.7.4
1 parent d75860d commit cc24cdd

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Dockerfile

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
ARG POSTGRES_VERSION
22
FROM postgres:$POSTGRES_VERSION
33

4-
RUN apt-get update && \
5-
apt-get install -y git make gcc
4+
RUN apt-get update && apt-get install unzip && apt-get --assume-yes install build-essential && apt-get --assume-yes install postgresql-server-dev-11 && apt-get install -y wget \
5+
&& wget https://github.com/pgpartman/pg_partman/archive/refs/tags/v4.7.4.zip -O 4.7.4.zip \
6+
&& unzip 4.7.4.zip \
7+
&& cd /pg_partman-4.7.4 && pwd && make NO_BGW=1 install
68

7-
RUN git clone https://github.com/pgpartman/pg_partman --branch 4.7.1
8-
RUN cd pg_partman && make NO_BGW=1 install
99

1010
RUN apt-get update && \
1111
apt-get -y install postgresql-15-cron && \
1212
apt-get clean \
1313
&& rm -rf /var/lib/apt/lists/*
14+
15+

0 commit comments

Comments
 (0)