File tree 2 files changed +29
-0
lines changed
postgresql-12.10-plv8-2.3.14
2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -89,3 +89,6 @@ services:
89
89
90
90
postgresql-12.5-plv8-2.3.14 :
91
91
build : postgresql-12.5-plv8-2.3.14
92
+
93
+ postgresql-12.10-plv8-2.3.14 :
94
+ build : postgresql-12.10-plv8-2.3.14
Original file line number Diff line number Diff line change
1
+ FROM postgres:12.10
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/*
You can’t perform that action at this time.
0 commit comments