File tree Expand file tree Collapse file tree 7 files changed +35
-7
lines changed
Expand file tree Collapse file tree 7 files changed +35
-7
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ FROM debian:wheezy
55RUN groupadd -r postgres && useradd -r -g postgres postgres
66
77# grab gosu for easy step-down from root
8+ RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
89RUN 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 \
1014 && chmod +x /usr/local/bin/gosu \
1115 && apt-get purge -y --auto-remove curl
1216
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ FROM debian:wheezy
55RUN groupadd -r postgres && useradd -r -g postgres postgres
66
77# grab gosu for easy step-down from root
8+ RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
89RUN 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 \
1014 && chmod +x /usr/local/bin/gosu \
1115 && apt-get purge -y --auto-remove curl
1216
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ FROM debian:wheezy
55RUN groupadd -r postgres && useradd -r -g postgres postgres
66
77# grab gosu for easy step-down from root
8+ RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
89RUN 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 \
1014 && chmod +x /usr/local/bin/gosu \
1115 && apt-get purge -y --auto-remove curl
1216
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ FROM debian:wheezy
55RUN groupadd -r postgres && useradd -r -g postgres postgres
66
77# grab gosu for easy step-down from root
8+ RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
89RUN 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 \
1014 && chmod +x /usr/local/bin/gosu \
1115 && apt-get purge -y --auto-remove curl
1216
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ FROM debian:wheezy
55RUN groupadd -r postgres && useradd -r -g postgres postgres
66
77# grab gosu for easy step-down from root
8+ RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
89RUN 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 \
1014 && chmod +x /usr/local/bin/gosu \
1115 && apt-get purge -y --auto-remove curl
1216
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ FROM debian:wheezy
55RUN groupadd -r postgres && useradd -r -g postgres postgres
66
77# grab gosu for easy step-down from root
8+ RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
89RUN 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 \
1014 && chmod +x /usr/local/bin/gosu \
1115 && apt-get purge -y --auto-remove curl
1216
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ FROM debian:wheezy
55RUN groupadd -r postgres && useradd -r -g postgres postgres
66
77# grab gosu for easy step-down from root
8+ RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
89RUN 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 \
1014 && chmod +x /usr/local/bin/gosu \
1115 && apt-get purge -y --auto-remove curl
1216
You can’t perform that action at this time.
0 commit comments