Skip to content

Commit 574a975

Browse files
committed
Merge pull request docker-library#76 from infosiftr/wget
Switch from curl to wget
2 parents 0ced079 + 63d9669 commit 574a975

File tree

7 files changed

+28
-28
lines changed

7 files changed

+28
-28
lines changed

9.0/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ RUN groupadd -r postgres && useradd -r -g postgres postgres
66

77
# grab gosu for easy step-down from root
88
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" \
1212
&& gpg --verify /usr/local/bin/gosu.asc \
1313
&& rm /usr/local/bin/gosu.asc \
1414
&& chmod +x /usr/local/bin/gosu \
15-
&& apt-get purge -y --auto-remove curl
15+
&& apt-get purge -y --auto-remove ca-certificates wget
1616

1717
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
1818
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \

9.1/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ RUN groupadd -r postgres && useradd -r -g postgres postgres
66

77
# grab gosu for easy step-down from root
88
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" \
1212
&& gpg --verify /usr/local/bin/gosu.asc \
1313
&& rm /usr/local/bin/gosu.asc \
1414
&& chmod +x /usr/local/bin/gosu \
15-
&& apt-get purge -y --auto-remove curl
15+
&& apt-get purge -y --auto-remove ca-certificates wget
1616

1717
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
1818
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \

9.2/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ RUN groupadd -r postgres && useradd -r -g postgres postgres
66

77
# grab gosu for easy step-down from root
88
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" \
1212
&& gpg --verify /usr/local/bin/gosu.asc \
1313
&& rm /usr/local/bin/gosu.asc \
1414
&& chmod +x /usr/local/bin/gosu \
15-
&& apt-get purge -y --auto-remove curl
15+
&& apt-get purge -y --auto-remove ca-certificates wget
1616

1717
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
1818
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \

9.3/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ RUN groupadd -r postgres && useradd -r -g postgres postgres
66

77
# grab gosu for easy step-down from root
88
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" \
1212
&& gpg --verify /usr/local/bin/gosu.asc \
1313
&& rm /usr/local/bin/gosu.asc \
1414
&& chmod +x /usr/local/bin/gosu \
15-
&& apt-get purge -y --auto-remove curl
15+
&& apt-get purge -y --auto-remove ca-certificates wget
1616

1717
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
1818
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \

9.4/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ RUN groupadd -r postgres && useradd -r -g postgres postgres
66

77
# grab gosu for easy step-down from root
88
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" \
1212
&& gpg --verify /usr/local/bin/gosu.asc \
1313
&& rm /usr/local/bin/gosu.asc \
1414
&& chmod +x /usr/local/bin/gosu \
15-
&& apt-get purge -y --auto-remove curl
15+
&& apt-get purge -y --auto-remove ca-certificates wget
1616

1717
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
1818
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \

9.5/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ RUN groupadd -r postgres && useradd -r -g postgres postgres
66

77
# grab gosu for easy step-down from root
88
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" \
1212
&& gpg --verify /usr/local/bin/gosu.asc \
1313
&& rm /usr/local/bin/gosu.asc \
1414
&& chmod +x /usr/local/bin/gosu \
15-
&& apt-get purge -y --auto-remove curl
15+
&& apt-get purge -y --auto-remove ca-certificates wget
1616

1717
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
1818
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \

Dockerfile.template

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ RUN groupadd -r postgres && useradd -r -g postgres postgres
66

77
# grab gosu for easy step-down from root
88
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" \
1212
&& gpg --verify /usr/local/bin/gosu.asc \
1313
&& rm /usr/local/bin/gosu.asc \
1414
&& chmod +x /usr/local/bin/gosu \
15-
&& apt-get purge -y --auto-remove curl
15+
&& apt-get purge -y --auto-remove ca-certificates wget
1616

1717
# make the "en_US.UTF-8" locale so postgres will be utf-8 enabled by default
1818
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \

0 commit comments

Comments
 (0)