File tree Expand file tree Collapse file tree 3 files changed +23
-5
lines changed Expand file tree Collapse file tree 3 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ RUN set -x; \
7
7
&& apt-get install -y --no-install-recommends \
8
8
ca-certificates \
9
9
curl \
10
+ dirmngr \
10
11
node-less \
11
12
python-gevent \
12
13
python-ldap \
@@ -27,7 +28,10 @@ RUN set -x; \
27
28
# install latest postgresql-client
28
29
RUN set -x; \
29
30
echo 'deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' > etc/apt/sources.list.d/pgdg.list \
30
- && curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
31
+ && export GNUPGHOME="$(mktemp -d)" \
32
+ && gpg --batch --keyserver keyserver.ubuntu.com --recv-keys ACCC4CF8 \
33
+ && gpg --armor --export ACCC4CF8 | apt-key add - \
34
+ && rm -rf "$GNUPGHOME" \
31
35
&& apt-get update \
32
36
&& apt-get install -y postgresql-client
33
37
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ RUN set -x; \
10
10
&& apt-get install -y --no-install-recommends \
11
11
ca-certificates \
12
12
curl \
13
+ dirmngr \
13
14
fonts-noto-cjk \
14
15
gnupg \
15
16
libssl1.0-dev \
@@ -31,7 +32,11 @@ RUN set -x; \
31
32
# install latest postgresql-client
32
33
RUN set -x; \
33
34
echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' > etc/apt/sources.list.d/pgdg.list \
34
- && curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
35
+ && export GNUPGHOME="$(mktemp -d)" \
36
+ && gpg --batch --keyserver keyserver.ubuntu.com --recv-keys ACCC4CF8 \
37
+ && gpg --armor --export ACCC4CF8 | apt-key add - \
38
+ && gpgconf --kill all \
39
+ && rm -rf "$GNUPGHOME" \
35
40
&& apt-get update \
36
41
&& apt-get install -y postgresql-client
37
42
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ RUN set -x; \
10
10
&& apt-get install -y --no-install-recommends \
11
11
ca-certificates \
12
12
curl \
13
+ dirmngr \
13
14
fonts-noto-cjk \
14
15
gnupg \
15
16
libssl1.0-dev \
@@ -31,14 +32,22 @@ RUN set -x; \
31
32
# install latest postgresql-client
32
33
RUN set -x; \
33
34
echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' > etc/apt/sources.list.d/pgdg.list \
34
- && curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
35
+ && export GNUPGHOME="$(mktemp -d)" \
36
+ && gpg --batch --keyserver keyserver.ubuntu.com --recv-keys ACCC4CF8 \
37
+ && gpg --armor --export ACCC4CF8 | apt-key add - \
38
+ && gpgconf --kill all \
39
+ && rm -rf "$GNUPGHOME" \
35
40
&& apt-get update \
36
41
&& apt-get install -y postgresql-client
37
42
38
43
# Install rtlcss (on Debian stretch)
39
44
RUN set -x;\
40
- curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \
41
- && echo "deb http://deb.nodesource.com/node_8.x stretch main" > /etc/apt/sources.list.d/nodesource.list \
45
+ echo "deb http://deb.nodesource.com/node_8.x stretch main" > /etc/apt/sources.list.d/nodesource.list \
46
+ && export GNUPGHOME="$(mktemp -d)" \
47
+ && gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 68576280 \
48
+ && gpg --armor --export 68576280 | apt-key add - \
49
+ && gpgconf --kill all \
50
+ && rm -rf "$GNUPGHOME" \
42
51
&& apt-get update \
43
52
&& apt-get install -y nodejs \
44
53
&& npm install -g rtlcss
You can’t perform that action at this time.
0 commit comments