File tree 7 files changed +28
-28
lines changed 7 files changed +28
-28
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ RUN groupadd -r postgres && useradd -r -g postgres postgres
6
6
7
7
# grab gosu for easy step-down from root
8
8
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
9
- RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
10
- && curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
11
- && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
9
+ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
10
+ && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
11
+ && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
12
12
&& gpg --verify /usr/local/bin/gosu.asc \
13
13
&& rm /usr/local/bin/gosu.asc \
14
14
&& chmod +x /usr/local/bin/gosu \
15
- && apt-get purge -y --auto-remove curl
15
+ && apt-get purge -y --auto-remove ca-certificates wget
16
16
17
17
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
18
18
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ RUN groupadd -r postgres && useradd -r -g postgres postgres
6
6
7
7
# grab gosu for easy step-down from root
8
8
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
9
- RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
10
- && curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
11
- && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
9
+ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
10
+ && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
11
+ && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
12
12
&& gpg --verify /usr/local/bin/gosu.asc \
13
13
&& rm /usr/local/bin/gosu.asc \
14
14
&& chmod +x /usr/local/bin/gosu \
15
- && apt-get purge -y --auto-remove curl
15
+ && apt-get purge -y --auto-remove ca-certificates wget
16
16
17
17
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
18
18
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ RUN groupadd -r postgres && useradd -r -g postgres postgres
6
6
7
7
# grab gosu for easy step-down from root
8
8
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
9
- RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
10
- && curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
11
- && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
9
+ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
10
+ && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
11
+ && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
12
12
&& gpg --verify /usr/local/bin/gosu.asc \
13
13
&& rm /usr/local/bin/gosu.asc \
14
14
&& chmod +x /usr/local/bin/gosu \
15
- && apt-get purge -y --auto-remove curl
15
+ && apt-get purge -y --auto-remove ca-certificates wget
16
16
17
17
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
18
18
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ RUN groupadd -r postgres && useradd -r -g postgres postgres
6
6
7
7
# grab gosu for easy step-down from root
8
8
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
9
- RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
10
- && curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
11
- && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
9
+ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
10
+ && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
11
+ && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
12
12
&& gpg --verify /usr/local/bin/gosu.asc \
13
13
&& rm /usr/local/bin/gosu.asc \
14
14
&& chmod +x /usr/local/bin/gosu \
15
- && apt-get purge -y --auto-remove curl
15
+ && apt-get purge -y --auto-remove ca-certificates wget
16
16
17
17
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
18
18
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ RUN groupadd -r postgres && useradd -r -g postgres postgres
6
6
7
7
# grab gosu for easy step-down from root
8
8
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
9
- RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
10
- && curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
11
- && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
9
+ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
10
+ && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
11
+ && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
12
12
&& gpg --verify /usr/local/bin/gosu.asc \
13
13
&& rm /usr/local/bin/gosu.asc \
14
14
&& chmod +x /usr/local/bin/gosu \
15
- && apt-get purge -y --auto-remove curl
15
+ && apt-get purge -y --auto-remove ca-certificates wget
16
16
17
17
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
18
18
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ RUN groupadd -r postgres && useradd -r -g postgres postgres
6
6
7
7
# grab gosu for easy step-down from root
8
8
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
9
- RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
10
- && curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
11
- && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
9
+ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
10
+ && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
11
+ && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
12
12
&& gpg --verify /usr/local/bin/gosu.asc \
13
13
&& rm /usr/local/bin/gosu.asc \
14
14
&& chmod +x /usr/local/bin/gosu \
15
- && apt-get purge -y --auto-remove curl
15
+ && apt-get purge -y --auto-remove ca-certificates wget
16
16
17
17
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
18
18
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \
Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ RUN groupadd -r postgres && useradd -r -g postgres postgres
6
6
7
7
# grab gosu for easy step-down from root
8
8
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
9
- RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
10
- && curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
11
- && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
9
+ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* \
10
+ && wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
11
+ && wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
12
12
&& gpg --verify /usr/local/bin/gosu.asc \
13
13
&& rm /usr/local/bin/gosu.asc \
14
14
&& chmod +x /usr/local/bin/gosu \
15
- && apt-get purge -y --auto-remove curl
15
+ && apt-get purge -y --auto-remove ca-certificates wget
16
16
17
17
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
18
18
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \
You can’t perform that action at this time.
0 commit comments