Skip to content

Commit 36c4b89

Browse files
committed
Docker images for PostgreSQL versions from 10.4 to 10.15 with plv8 in 2.1.2 version
1 parent 0721593 commit 36c4b89

File tree

13 files changed

+360
-0
lines changed

13 files changed

+360
-0
lines changed

docker-compose.yml

+36
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,39 @@ services:
4141

4242
postgresql-9.6.20-plv8-2.1.2:
4343
build: postgresql-9.6.20-plv8-2.1.2
44+
45+
postgresql-10.4-plv8-2.1.2:
46+
build: postgresql-10.4-plv8-2.1.2
47+
48+
postgresql-10.5-plv8-2.1.2:
49+
build: postgresql-10.5-plv8-2.1.2
50+
51+
postgresql-10.6-plv8-2.1.2:
52+
build: postgresql-10.6-plv8-2.1.2
53+
54+
postgresql-10.7-plv8-2.1.2:
55+
build: postgresql-10.7-plv8-2.1.2
56+
57+
postgresql-10.8-plv8-2.1.2:
58+
build: postgresql-10.8-plv8-2.1.2
59+
60+
postgresql-10.9-plv8-2.1.2:
61+
build: postgresql-10.9-plv8-2.1.2
62+
63+
postgresql-10.10-plv8-2.1.2:
64+
build: postgresql-10.10-plv8-2.1.2
65+
66+
postgresql-10.11-plv8-2.1.2:
67+
build: postgresql-10.11-plv8-2.1.2
68+
69+
postgresql-10.12-plv8-2.1.2:
70+
build: postgresql-10.12-plv8-2.1.2
71+
72+
postgresql-10.13-plv8-2.1.2:
73+
build: postgresql-10.13-plv8-2.1.2
74+
75+
postgresql-10.14-plv8-2.1.2:
76+
build: postgresql-10.14-plv8-2.1.2
77+
78+
postgresql-10.15-plv8-2.1.2:
79+
build: postgresql-10.15-plv8-2.1.2
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM postgres:10.10
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.1.2
6+
ENV MAKE_DEPENDENCIES="wget build-essential ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
8+
# Build and install plv8 extension from sources.
9+
RUN apt-get update \
10+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} \
11+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
12+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
13+
# The maintainers of the plv8 extension forgot to change the version number in the makefile:
14+
# https://github.com/plv8/plv8/blob/v2.1.2/Makefile
15+
# https://github.com/plv8/plv8/commit/b4a81cdd1939d24d537132bb4b2f8ea85b3c915c
16+
&& sed -i 's/2.1.1/2.1.2/g' plv8-${PLV8_VERSION}/Makefile \
17+
&& make --directory plv8-${PLV8_VERSION} static \
18+
&& make --directory plv8-${PLV8_VERSION} install \
19+
# Clean up
20+
&& apt-get clean \
21+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
22+
&& apt-get autoremove -y \
23+
&& rm v${PLV8_VERSION}.tar.gz \
24+
&& rm -rf plv8-${PLV8_VERSION} \
25+
&& rm -rf /root/.vpython-root \
26+
&& rm -rf /root/.vpython_cipd_cache \
27+
&& rm -rf /var/lib/apt/lists/*
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM postgres:10.11
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.1.2
6+
ENV MAKE_DEPENDENCIES="wget build-essential ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
8+
# Build and install plv8 extension from sources.
9+
RUN apt-get update \
10+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} \
11+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
12+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
13+
# The maintainers of the plv8 extension forgot to change the version number in the makefile:
14+
# https://github.com/plv8/plv8/blob/v2.1.2/Makefile
15+
# https://github.com/plv8/plv8/commit/b4a81cdd1939d24d537132bb4b2f8ea85b3c915c
16+
&& sed -i 's/2.1.1/2.1.2/g' plv8-${PLV8_VERSION}/Makefile \
17+
&& make --directory plv8-${PLV8_VERSION} static \
18+
&& make --directory plv8-${PLV8_VERSION} install \
19+
# Clean up
20+
&& apt-get clean \
21+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
22+
&& apt-get autoremove -y \
23+
&& rm v${PLV8_VERSION}.tar.gz \
24+
&& rm -rf plv8-${PLV8_VERSION} \
25+
&& rm -rf /root/.vpython-root \
26+
&& rm -rf /root/.vpython_cipd_cache \
27+
&& rm -rf /var/lib/apt/lists/*
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM postgres:10.12
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.1.2
6+
ENV MAKE_DEPENDENCIES="wget build-essential ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
8+
# Build and install plv8 extension from sources.
9+
RUN apt-get update \
10+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} \
11+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
12+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
13+
# The maintainers of the plv8 extension forgot to change the version number in the makefile:
14+
# https://github.com/plv8/plv8/blob/v2.1.2/Makefile
15+
# https://github.com/plv8/plv8/commit/b4a81cdd1939d24d537132bb4b2f8ea85b3c915c
16+
&& sed -i 's/2.1.1/2.1.2/g' plv8-${PLV8_VERSION}/Makefile \
17+
&& make --directory plv8-${PLV8_VERSION} static \
18+
&& make --directory plv8-${PLV8_VERSION} install \
19+
# Clean up
20+
&& apt-get clean \
21+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
22+
&& apt-get autoremove -y \
23+
&& rm v${PLV8_VERSION}.tar.gz \
24+
&& rm -rf plv8-${PLV8_VERSION} \
25+
&& rm -rf /root/.vpython-root \
26+
&& rm -rf /root/.vpython_cipd_cache \
27+
&& rm -rf /var/lib/apt/lists/*
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM postgres:10.13
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.1.2
6+
ENV MAKE_DEPENDENCIES="wget build-essential ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
8+
# Build and install plv8 extension from sources.
9+
RUN apt-get update \
10+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} \
11+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
12+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
13+
# The maintainers of the plv8 extension forgot to change the version number in the makefile:
14+
# https://github.com/plv8/plv8/blob/v2.1.2/Makefile
15+
# https://github.com/plv8/plv8/commit/b4a81cdd1939d24d537132bb4b2f8ea85b3c915c
16+
&& sed -i 's/2.1.1/2.1.2/g' plv8-${PLV8_VERSION}/Makefile \
17+
&& make --directory plv8-${PLV8_VERSION} static \
18+
&& make --directory plv8-${PLV8_VERSION} install \
19+
# Clean up
20+
&& apt-get clean \
21+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
22+
&& apt-get autoremove -y \
23+
&& rm v${PLV8_VERSION}.tar.gz \
24+
&& rm -rf plv8-${PLV8_VERSION} \
25+
&& rm -rf /root/.vpython-root \
26+
&& rm -rf /root/.vpython_cipd_cache \
27+
&& rm -rf /var/lib/apt/lists/*
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM postgres:10.14
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.1.2
6+
ENV MAKE_DEPENDENCIES="wget build-essential ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
8+
# Build and install plv8 extension from sources.
9+
RUN apt-get update \
10+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} \
11+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
12+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
13+
# The maintainers of the plv8 extension forgot to change the version number in the makefile:
14+
# https://github.com/plv8/plv8/blob/v2.1.2/Makefile
15+
# https://github.com/plv8/plv8/commit/b4a81cdd1939d24d537132bb4b2f8ea85b3c915c
16+
&& sed -i 's/2.1.1/2.1.2/g' plv8-${PLV8_VERSION}/Makefile \
17+
&& make --directory plv8-${PLV8_VERSION} static \
18+
&& make --directory plv8-${PLV8_VERSION} install \
19+
# Clean up
20+
&& apt-get clean \
21+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
22+
&& apt-get autoremove -y \
23+
&& rm v${PLV8_VERSION}.tar.gz \
24+
&& rm -rf plv8-${PLV8_VERSION} \
25+
&& rm -rf /root/.vpython-root \
26+
&& rm -rf /root/.vpython_cipd_cache \
27+
&& rm -rf /var/lib/apt/lists/*
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM postgres:10.15
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.1.2
6+
ENV MAKE_DEPENDENCIES="wget build-essential ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
8+
# Build and install plv8 extension from sources.
9+
RUN apt-get update \
10+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} \
11+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
12+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
13+
# The maintainers of the plv8 extension forgot to change the version number in the makefile:
14+
# https://github.com/plv8/plv8/blob/v2.1.2/Makefile
15+
# https://github.com/plv8/plv8/commit/b4a81cdd1939d24d537132bb4b2f8ea85b3c915c
16+
&& sed -i 's/2.1.1/2.1.2/g' plv8-${PLV8_VERSION}/Makefile \
17+
&& make --directory plv8-${PLV8_VERSION} static \
18+
&& make --directory plv8-${PLV8_VERSION} install \
19+
# Clean up
20+
&& apt-get clean \
21+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
22+
&& apt-get autoremove -y \
23+
&& rm v${PLV8_VERSION}.tar.gz \
24+
&& rm -rf plv8-${PLV8_VERSION} \
25+
&& rm -rf /root/.vpython-root \
26+
&& rm -rf /root/.vpython_cipd_cache \
27+
&& rm -rf /var/lib/apt/lists/*

postgresql-10.4-plv8-2.1.2/Dockerfile

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM postgres:10.4
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.1.2
6+
ENV MAKE_DEPENDENCIES="wget build-essential ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
8+
# Build and install plv8 extension from sources.
9+
RUN apt-get update \
10+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} \
11+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
12+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
13+
# The maintainers of the plv8 extension forgot to change the version number in the makefile:
14+
# https://github.com/plv8/plv8/blob/v2.1.2/Makefile
15+
# https://github.com/plv8/plv8/commit/b4a81cdd1939d24d537132bb4b2f8ea85b3c915c
16+
&& sed -i 's/2.1.1/2.1.2/g' plv8-${PLV8_VERSION}/Makefile \
17+
&& make --directory plv8-${PLV8_VERSION} static \
18+
&& make --directory plv8-${PLV8_VERSION} install \
19+
# Clean up
20+
&& apt-get clean \
21+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
22+
&& apt-get autoremove -y \
23+
&& rm v${PLV8_VERSION}.tar.gz \
24+
&& rm -rf plv8-${PLV8_VERSION} \
25+
&& rm -rf /root/.vpython-root \
26+
&& rm -rf /root/.vpython_cipd_cache \
27+
&& rm -rf /var/lib/apt/lists/*

postgresql-10.5-plv8-2.1.2/Dockerfile

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM postgres:10.5
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.1.2
6+
ENV MAKE_DEPENDENCIES="wget build-essential ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
8+
# Build and install plv8 extension from sources.
9+
RUN apt-get update \
10+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} \
11+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
12+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
13+
# The maintainers of the plv8 extension forgot to change the version number in the makefile:
14+
# https://github.com/plv8/plv8/blob/v2.1.2/Makefile
15+
# https://github.com/plv8/plv8/commit/b4a81cdd1939d24d537132bb4b2f8ea85b3c915c
16+
&& sed -i 's/2.1.1/2.1.2/g' plv8-${PLV8_VERSION}/Makefile \
17+
&& make --directory plv8-${PLV8_VERSION} static \
18+
&& make --directory plv8-${PLV8_VERSION} install \
19+
# Clean up
20+
&& apt-get clean \
21+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
22+
&& apt-get autoremove -y \
23+
&& rm v${PLV8_VERSION}.tar.gz \
24+
&& rm -rf plv8-${PLV8_VERSION} \
25+
&& rm -rf /root/.vpython-root \
26+
&& rm -rf /root/.vpython_cipd_cache \
27+
&& rm -rf /var/lib/apt/lists/*

postgresql-10.6-plv8-2.1.2/Dockerfile

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM postgres:10.6
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.1.2
6+
ENV MAKE_DEPENDENCIES="wget build-essential ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
8+
# Build and install plv8 extension from sources.
9+
RUN apt-get update \
10+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} \
11+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
12+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
13+
# The maintainers of the plv8 extension forgot to change the version number in the makefile:
14+
# https://github.com/plv8/plv8/blob/v2.1.2/Makefile
15+
# https://github.com/plv8/plv8/commit/b4a81cdd1939d24d537132bb4b2f8ea85b3c915c
16+
&& sed -i 's/2.1.1/2.1.2/g' plv8-${PLV8_VERSION}/Makefile \
17+
&& make --directory plv8-${PLV8_VERSION} static \
18+
&& make --directory plv8-${PLV8_VERSION} install \
19+
# Clean up
20+
&& apt-get clean \
21+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
22+
&& apt-get autoremove -y \
23+
&& rm v${PLV8_VERSION}.tar.gz \
24+
&& rm -rf plv8-${PLV8_VERSION} \
25+
&& rm -rf /root/.vpython-root \
26+
&& rm -rf /root/.vpython_cipd_cache \
27+
&& rm -rf /var/lib/apt/lists/*

postgresql-10.7-plv8-2.1.2/Dockerfile

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM postgres:10.7
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.1.2
6+
ENV MAKE_DEPENDENCIES="wget build-essential ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
8+
# Build and install plv8 extension from sources.
9+
RUN apt-get update \
10+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} \
11+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
12+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
13+
# The maintainers of the plv8 extension forgot to change the version number in the makefile:
14+
# https://github.com/plv8/plv8/blob/v2.1.2/Makefile
15+
# https://github.com/plv8/plv8/commit/b4a81cdd1939d24d537132bb4b2f8ea85b3c915c
16+
&& sed -i 's/2.1.1/2.1.2/g' plv8-${PLV8_VERSION}/Makefile \
17+
&& make --directory plv8-${PLV8_VERSION} static \
18+
&& make --directory plv8-${PLV8_VERSION} install \
19+
# Clean up
20+
&& apt-get clean \
21+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
22+
&& apt-get autoremove -y \
23+
&& rm v${PLV8_VERSION}.tar.gz \
24+
&& rm -rf plv8-${PLV8_VERSION} \
25+
&& rm -rf /root/.vpython-root \
26+
&& rm -rf /root/.vpython_cipd_cache \
27+
&& rm -rf /var/lib/apt/lists/*

postgresql-10.8-plv8-2.1.2/Dockerfile

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM postgres:10.8
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.1.2
6+
ENV MAKE_DEPENDENCIES="wget build-essential ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
8+
# Build and install plv8 extension from sources.
9+
RUN apt-get update \
10+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} \
11+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
12+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
13+
# The maintainers of the plv8 extension forgot to change the version number in the makefile:
14+
# https://github.com/plv8/plv8/blob/v2.1.2/Makefile
15+
# https://github.com/plv8/plv8/commit/b4a81cdd1939d24d537132bb4b2f8ea85b3c915c
16+
&& sed -i 's/2.1.1/2.1.2/g' plv8-${PLV8_VERSION}/Makefile \
17+
&& make --directory plv8-${PLV8_VERSION} static \
18+
&& make --directory plv8-${PLV8_VERSION} install \
19+
# Clean up
20+
&& apt-get clean \
21+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
22+
&& apt-get autoremove -y \
23+
&& rm v${PLV8_VERSION}.tar.gz \
24+
&& rm -rf plv8-${PLV8_VERSION} \
25+
&& rm -rf /root/.vpython-root \
26+
&& rm -rf /root/.vpython_cipd_cache \
27+
&& rm -rf /var/lib/apt/lists/*

postgresql-10.9-plv8-2.1.2/Dockerfile

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM postgres:10.9
2+
3+
MAINTAINER Bartek "Draakhan" Szymański <[email protected]>
4+
5+
ENV PLV8_VERSION=2.1.2
6+
ENV MAKE_DEPENDENCIES="wget build-essential ca-certificates git python postgresql-server-dev-$PG_MAJOR"
7+
8+
# Build and install plv8 extension from sources.
9+
RUN apt-get update \
10+
&& apt-get install -y --no-install-recommends ${MAKE_DEPENDENCIES} \
11+
&& wget https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz \
12+
&& tar -xvzf v${PLV8_VERSION}.tar.gz \
13+
# The maintainers of the plv8 extension forgot to change the version number in the makefile:
14+
# https://github.com/plv8/plv8/blob/v2.1.2/Makefile
15+
# https://github.com/plv8/plv8/commit/b4a81cdd1939d24d537132bb4b2f8ea85b3c915c
16+
&& sed -i 's/2.1.1/2.1.2/g' plv8-${PLV8_VERSION}/Makefile \
17+
&& make --directory plv8-${PLV8_VERSION} static \
18+
&& make --directory plv8-${PLV8_VERSION} install \
19+
# Clean up
20+
&& apt-get clean \
21+
&& apt-get remove -y ${MAKE_DEPENDENCIES} \
22+
&& apt-get autoremove -y \
23+
&& rm v${PLV8_VERSION}.tar.gz \
24+
&& rm -rf plv8-${PLV8_VERSION} \
25+
&& rm -rf /root/.vpython-root \
26+
&& rm -rf /root/.vpython_cipd_cache \
27+
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)