File tree 4 files changed +12
-8
lines changed
4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ RUN echo 'deb http://deb.debian.org/debian wheezy-backports main' > /etc/apt/sou
8
8
9
9
RUN apt-get update \
10
10
&& apt-get install -y --no-install-recommends \
11
+ ca-certificates \
11
12
jq \
12
13
numactl \
13
14
# ps is not in base debian:wheezy image
@@ -17,7 +18,7 @@ RUN apt-get update \
17
18
# grab gosu for easy step-down from root
18
19
ENV GOSU_VERSION 1.7
19
20
RUN set -x \
20
- && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
21
+ && apt-get update && apt-get install -y --no-install-recommends wget && rm -rf /var/lib/apt/lists/* \
21
22
&& wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" \
22
23
&& wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
23
24
&& export GNUPGHOME="$(mktemp -d)" \
@@ -26,7 +27,7 @@ RUN set -x \
26
27
&& rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc \
27
28
&& chmod +x /usr/local/bin/gosu \
28
29
&& gosu nobody true \
29
- && apt-get purge -y --auto-remove ca-certificates wget
30
+ && apt-get purge -y --auto-remove wget
30
31
31
32
RUN mkdir /docker-entrypoint-initdb.d
32
33
Original file line number Diff line number Diff line change @@ -5,14 +5,15 @@ RUN groupadd -r mongodb && useradd -r -g mongodb mongodb
5
5
6
6
RUN apt-get update \
7
7
&& apt-get install -y --no-install-recommends \
8
+ ca-certificates \
8
9
jq \
9
10
numactl \
10
11
&& rm -rf /var/lib/apt/lists/*
11
12
12
13
# grab gosu for easy step-down from root
13
14
ENV GOSU_VERSION 1.7
14
15
RUN set -x \
15
- && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
16
+ && apt-get update && apt-get install -y --no-install-recommends wget && rm -rf /var/lib/apt/lists/* \
16
17
&& wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" \
17
18
&& wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
18
19
&& export GNUPGHOME="$(mktemp -d)" \
@@ -21,7 +22,7 @@ RUN set -x \
21
22
&& rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc \
22
23
&& chmod +x /usr/local/bin/gosu \
23
24
&& gosu nobody true \
24
- && apt-get purge -y --auto-remove ca-certificates wget
25
+ && apt-get purge -y --auto-remove wget
25
26
26
27
RUN mkdir /docker-entrypoint-initdb.d
27
28
Original file line number Diff line number Diff line change @@ -5,14 +5,15 @@ RUN groupadd -r mongodb && useradd -r -g mongodb mongodb
5
5
6
6
RUN apt-get update \
7
7
&& apt-get install -y --no-install-recommends \
8
+ ca-certificates \
8
9
jq \
9
10
numactl \
10
11
&& rm -rf /var/lib/apt/lists/*
11
12
12
13
# grab gosu for easy step-down from root
13
14
ENV GOSU_VERSION 1.7
14
15
RUN set -x \
15
- && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
16
+ && apt-get update && apt-get install -y --no-install-recommends wget && rm -rf /var/lib/apt/lists/* \
16
17
&& wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" \
17
18
&& wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
18
19
&& export GNUPGHOME="$(mktemp -d)" \
@@ -21,7 +22,7 @@ RUN set -x \
21
22
&& rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc \
22
23
&& chmod +x /usr/local/bin/gosu \
23
24
&& gosu nobody true \
24
- && apt-get purge -y --auto-remove ca-certificates wget
25
+ && apt-get purge -y --auto-remove wget
25
26
26
27
RUN mkdir /docker-entrypoint-initdb.d
27
28
Original file line number Diff line number Diff line change @@ -5,14 +5,15 @@ RUN groupadd -r mongodb && useradd -r -g mongodb mongodb
5
5
6
6
RUN apt-get update \
7
7
&& apt-get install -y --no-install-recommends \
8
+ ca-certificates \
8
9
jq \
9
10
numactl \
10
11
&& rm -rf /var/lib/apt/lists/*
11
12
12
13
# grab gosu for easy step-down from root
13
14
ENV GOSU_VERSION 1.7
14
15
RUN set -x \
15
- && apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
16
+ && apt-get update && apt-get install -y --no-install-recommends wget && rm -rf /var/lib/apt/lists/* \
16
17
&& wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" \
17
18
&& wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
18
19
&& export GNUPGHOME="$(mktemp -d)" \
@@ -21,7 +22,7 @@ RUN set -x \
21
22
&& rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc \
22
23
&& chmod +x /usr/local/bin/gosu \
23
24
&& gosu nobody true \
24
- && apt-get purge -y --auto-remove ca-certificates wget
25
+ && apt-get purge -y --auto-remove wget
25
26
26
27
RUN mkdir /docker-entrypoint-initdb.d
27
28
You can’t perform that action at this time.
0 commit comments