File tree 7 files changed +35
-7
lines changed
7 files changed +35
-7
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ FROM debian:wheezy
5
5
RUN groupadd -r postgres && useradd -r -g postgres postgres
6
6
7
7
# grab gosu for easy step-down from root
8
+ RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
8
9
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
9
- && curl -o /usr/local/bin/gosu -SL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \
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" \
12
+ && gpg --verify /usr/local/bin/gosu.asc \
13
+ && rm /usr/local/bin/gosu.asc \
10
14
&& chmod +x /usr/local/bin/gosu \
11
15
&& apt-get purge -y --auto-remove curl
12
16
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ FROM debian:wheezy
5
5
RUN groupadd -r postgres && useradd -r -g postgres postgres
6
6
7
7
# grab gosu for easy step-down from root
8
+ RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
8
9
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
9
- && curl -o /usr/local/bin/gosu -SL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \
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" \
12
+ && gpg --verify /usr/local/bin/gosu.asc \
13
+ && rm /usr/local/bin/gosu.asc \
10
14
&& chmod +x /usr/local/bin/gosu \
11
15
&& apt-get purge -y --auto-remove curl
12
16
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ FROM debian:wheezy
5
5
RUN groupadd -r postgres && useradd -r -g postgres postgres
6
6
7
7
# grab gosu for easy step-down from root
8
+ RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
8
9
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
9
- && curl -o /usr/local/bin/gosu -SL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \
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" \
12
+ && gpg --verify /usr/local/bin/gosu.asc \
13
+ && rm /usr/local/bin/gosu.asc \
10
14
&& chmod +x /usr/local/bin/gosu \
11
15
&& apt-get purge -y --auto-remove curl
12
16
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ FROM debian:wheezy
5
5
RUN groupadd -r postgres && useradd -r -g postgres postgres
6
6
7
7
# grab gosu for easy step-down from root
8
+ RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
8
9
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
9
- && curl -o /usr/local/bin/gosu -SL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \
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" \
12
+ && gpg --verify /usr/local/bin/gosu.asc \
13
+ && rm /usr/local/bin/gosu.asc \
10
14
&& chmod +x /usr/local/bin/gosu \
11
15
&& apt-get purge -y --auto-remove curl
12
16
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ FROM debian:wheezy
5
5
RUN groupadd -r postgres && useradd -r -g postgres postgres
6
6
7
7
# grab gosu for easy step-down from root
8
+ RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
8
9
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
9
- && curl -o /usr/local/bin/gosu -SL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \
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" \
12
+ && gpg --verify /usr/local/bin/gosu.asc \
13
+ && rm /usr/local/bin/gosu.asc \
10
14
&& chmod +x /usr/local/bin/gosu \
11
15
&& apt-get purge -y --auto-remove curl
12
16
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ FROM debian:wheezy
5
5
RUN groupadd -r postgres && useradd -r -g postgres postgres
6
6
7
7
# grab gosu for easy step-down from root
8
+ RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
8
9
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
9
- && curl -o /usr/local/bin/gosu -SL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \
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" \
12
+ && gpg --verify /usr/local/bin/gosu.asc \
13
+ && rm /usr/local/bin/gosu.asc \
10
14
&& chmod +x /usr/local/bin/gosu \
11
15
&& apt-get purge -y --auto-remove curl
12
16
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ FROM debian:wheezy
5
5
RUN groupadd -r postgres && useradd -r -g postgres postgres
6
6
7
7
# grab gosu for easy step-down from root
8
+ RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
8
9
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
9
- && curl -o /usr/local/bin/gosu -SL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \
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" \
12
+ && gpg --verify /usr/local/bin/gosu.asc \
13
+ && rm /usr/local/bin/gosu.asc \
10
14
&& chmod +x /usr/local/bin/gosu \
11
15
&& apt-get purge -y --auto-remove curl
12
16
You can’t perform that action at this time.
0 commit comments