We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d75860d commit cc24cddCopy full SHA for cc24cdd
Dockerfile
@@ -1,13 +1,15 @@
1
ARG POSTGRES_VERSION
2
FROM postgres:$POSTGRES_VERSION
3
4
-RUN apt-get update && \
5
-apt-get install -y git make gcc
+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 \
+&& 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
8
-RUN git clone https://github.com/pgpartman/pg_partman --branch 4.7.1
-RUN cd pg_partman && make NO_BGW=1 install
9
10
RUN apt-get update && \
11
apt-get -y install postgresql-15-cron && \
12
apt-get clean \
13
&& rm -rf /var/lib/apt/lists/*
14
+
15
0 commit comments