File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
ARG POSTGRES_VERSION
2
2
FROM postgres:$POSTGRES_VERSION
3
3
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
6
8
7
- RUN git clone https://github.com/pgpartman/pg_partman --branch 4.7.1
8
- RUN cd pg_partman && make NO_BGW=1 install
9
9
10
10
RUN apt-get update && \
11
11
apt-get -y install postgresql-15-cron && \
12
12
apt-get clean \
13
13
&& rm -rf /var/lib/apt/lists/*
14
+
15
+
You can’t perform that action at this time.
0 commit comments