Skip to content

Commit 30df82e

Browse files
committed
Docker images for PostgreSQL versions from 12.2 to 12.5 with plv8 in 2.3.14 version
1 parent 8438102 commit 30df82e

File tree

5 files changed

+116
-0
lines changed

5 files changed

+116
-0
lines changed

docker-compose.yml

+12
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,15 @@ services:
7777

7878
postgresql-10.15-plv8-2.1.2:
7979
build: postgresql-10.15-plv8-2.1.2
80+
81+
postgresql-12.2-plv8-2.3.14:
82+
build: postgresql-12.2-plv8-2.3.14
83+
84+
postgresql-12.3-plv8-2.3.14:
85+
build: postgresql-12.3-plv8-2.3.14
86+
87+
postgresql-12.4-plv8-2.3.14:
88+
build: postgresql-12.4-plv8-2.3.14
89+
90+
postgresql-12.5-plv8-2.3.14:
91+
build: postgresql-12.5-plv8-2.3.14
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM postgres:12.2
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.3.14
6+
ENV MAKE_DEPENDENCIES="wget build-essential libc++-dev libc++abi-dev pkg-config libtinfo5 ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
ENV RUNTIME_DEPENDENCIES="libc++1"
8+
9+
# Build and install plv8 extension from sources.
10+
RUN apt-get update \
11+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} ${RUNTIME_DEPENDENCIES} \
12+
&& git config --global user.email "[email protected]" \
13+
&& git config --global user.name "Bartek \"Draakhan\" Szymański" \
14+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
15+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
16+
&& make --directory plv8-${PLV8_VERSION} static \
17+
&& make --directory plv8-${PLV8_VERSION} install \
18+
# Clean up
19+
&& apt-get clean \
20+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
21+
&& apt-get autoremove -y \
22+
&& rm v${PLV8_VERSION}.tar.gz \
23+
&& rm -rf plv8-${PLV8_VERSION} \
24+
&& rm -rf /root/.vpython-root \
25+
&& rm -rf /root/.vpython_cipd_cache \
26+
&& rm -rf /var/lib/apt/lists/*
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM postgres:12.3
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.3.14
6+
ENV MAKE_DEPENDENCIES="wget build-essential libc++-dev libc++abi-dev pkg-config libtinfo5 ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
ENV RUNTIME_DEPENDENCIES="libc++1"
8+
9+
# Build and install plv8 extension from sources.
10+
RUN apt-get update \
11+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} ${RUNTIME_DEPENDENCIES} \
12+
&& git config --global user.email "[email protected]" \
13+
&& git config --global user.name "Bartek \"Draakhan\" Szymański" \
14+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
15+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
16+
&& make --directory plv8-${PLV8_VERSION} static \
17+
&& make --directory plv8-${PLV8_VERSION} install \
18+
# Clean up
19+
&& apt-get clean \
20+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
21+
&& apt-get autoremove -y \
22+
&& rm v${PLV8_VERSION}.tar.gz \
23+
&& rm -rf plv8-${PLV8_VERSION} \
24+
&& rm -rf /root/.vpython-root \
25+
&& rm -rf /root/.vpython_cipd_cache \
26+
&& rm -rf /var/lib/apt/lists/*
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM postgres:12.4
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.3.14
6+
ENV MAKE_DEPENDENCIES="wget build-essential libc++-dev libc++abi-dev pkg-config libtinfo5 ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
ENV RUNTIME_DEPENDENCIES="libc++1"
8+
9+
# Build and install plv8 extension from sources.
10+
RUN apt-get update \
11+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} ${RUNTIME_DEPENDENCIES} \
12+
&& git config --global user.email "[email protected]" \
13+
&& git config --global user.name "Bartek \"Draakhan\" Szymański" \
14+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
15+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
16+
&& make --directory plv8-${PLV8_VERSION} static \
17+
&& make --directory plv8-${PLV8_VERSION} install \
18+
# Clean up
19+
&& apt-get clean \
20+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
21+
&& apt-get autoremove -y \
22+
&& rm v${PLV8_VERSION}.tar.gz \
23+
&& rm -rf plv8-${PLV8_VERSION} \
24+
&& rm -rf /root/.vpython-root \
25+
&& rm -rf /root/.vpython_cipd_cache \
26+
&& rm -rf /var/lib/apt/lists/*
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM postgres:12.5
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.3.14
6+
ENV MAKE_DEPENDENCIES="wget build-essential libc++-dev libc++abi-dev pkg-config libtinfo5 ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
ENV RUNTIME_DEPENDENCIES="libc++1"
8+
9+
# Build and install plv8 extension from sources.
10+
RUN apt-get update \
11+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} ${RUNTIME_DEPENDENCIES} \
12+
&& git config --global user.email "[email protected]" \
13+
&& git config --global user.name "Bartek \"Draakhan\" Szymański" \
14+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
15+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
16+
&& make --directory plv8-${PLV8_VERSION} static \
17+
&& make --directory plv8-${PLV8_VERSION} install \
18+
# Clean up
19+
&& apt-get clean \
20+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
21+
&& apt-get autoremove -y \
22+
&& rm v${PLV8_VERSION}.tar.gz \
23+
&& rm -rf plv8-${PLV8_VERSION} \
24+
&& rm -rf /root/.vpython-root \
25+
&& rm -rf /root/.vpython_cipd_cache \
26+
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)