File tree 2 files changed +30
-0
lines changed
postgresql-9.5.24-plv8-2.1.2
2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ services:
3
3
postgresql-9.5.23-plv8-2.1.2 :
4
4
build : postgresql-9.5.23-plv8-2.1.2
5
5
6
+ postgresql-9.5.24-plv8-2.1.2 :
7
+ build : postgresql-9.5.24-plv8-2.1.2
8
+
6
9
postgresql-9.6.9-plv8-2.1.2 :
7
10
build : postgresql-9.6.9-plv8-2.1.2
8
11
Original file line number Diff line number Diff line change
1
+ FROM postgres:9.5.24
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/*
You can’t perform that action at this time.
0 commit comments