Skip to content

Commit b81c66a

Browse files
authored
[docker] install ca-certificates before the first apt-get update (#12095)
* [docker] install ca-certificates before first apt-get update * Update Dockerfile
1 parent 8513e1e commit b81c66a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docker/client/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ ARG version=20.6.1.*
66
RUN apt-get update \
77
&& apt-get install --yes --no-install-recommends \
88
apt-transport-https \
9+
ca-certificates \
910
dirmngr \
1011
gnupg \
1112
&& mkdir -p /etc/apt/sources.list.d \

docker/server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ARG gosu_ver=1.10
77
RUN apt-get update \
88
&& apt-get install --yes --no-install-recommends \
99
apt-transport-https \
10+
ca-certificates \
1011
dirmngr \
1112
gnupg \
1213
&& mkdir -p /etc/apt/sources.list.d \
@@ -19,7 +20,6 @@ RUN apt-get update \
1920
clickhouse-client=$version \
2021
clickhouse-server=$version \
2122
locales \
22-
ca-certificates \
2323
wget \
2424
&& rm -rf \
2525
/var/lib/apt/lists/* \

0 commit comments

Comments
 (0)