File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,7 @@ RUN apt-get update \
24
24
&& apt-get install postgresql-plpython3-12 -y
25
25
26
26
# install plv8
27
- ENV PLV8_VERSION=2.3.13 \
28
- PLV8_SHASUM="1a96c559d98ad757e7494bf7301f0e6b0dd2eec6066ad76ed36cc13fec4f2390"
27
+ ENV PLV8_VERSION=r3.0alpha
29
28
30
29
RUN buildDependencies="build-essential \
31
30
ca-certificates \
@@ -46,14 +45,12 @@ RUN buildDependencies="build-essential \
46
45
&& apt-get update \
47
46
&& apt-get install -y --no-install-recommends ${buildDependencies} ${runtimeDependencies} \
48
47
&& mkdir -p /tmp/build \
49
- && curl -o /tmp/build/v$PLV8_VERSION.tar.gz -SL "https://github.com/plv8/plv8/archive/v${PLV8_VERSION}.tar.gz" \
50
48
&& cd /tmp/build \
51
- && echo $PLV8_SHASUM v$PLV8_VERSION.tar.gz | sha256sum -c \
52
- && tar -xzf /tmp/build/v$PLV8_VERSION.tar.gz -C /tmp/build/ \
53
- && cd /tmp/build/plv8-$ PLV8_VERSION \
49
+ && git clone https://github.com/plv8/plv8.git \
50
+ && cd plv8 \
51
+ && git checkout ${ PLV8_VERSION} \
54
52
&& make static \
55
53
&& make install \
56
- && strip /usr/lib/postgresql/${PG_MAJOR}/lib/plv8-${PLV8_VERSION}.so \
57
54
&& rm -rf /root/.vpython_cipd_cache /root/.vpython-root \
58
55
&& apt-get clean \
59
56
&& apt-get remove -y ${buildDependencies} \
You can’t perform that action at this time.
0 commit comments