You've already forked postgres
mirror of
https://github.com/docker-library/postgres.git
synced 2025-07-28 10:42:06 +03:00
Merge pull request #35 from infosiftr/gosu-1.2
Update to gosu 1.2 (including GPG verification)
This commit is contained in:
@ -5,8 +5,12 @@ FROM debian:wheezy
|
|||||||
RUN groupadd -r postgres && useradd -r -g postgres postgres
|
RUN groupadd -r postgres && useradd -r -g postgres postgres
|
||||||
|
|
||||||
# grab gosu for easy step-down from root
|
# grab gosu for easy step-down from root
|
||||||
|
RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
|
||||||
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
|
||||||
&& curl -o /usr/local/bin/gosu -SL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \
|
&& curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
|
||||||
|
&& curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
|
||||||
|
&& gpg --verify /usr/local/bin/gosu.asc \
|
||||||
|
&& rm /usr/local/bin/gosu.asc \
|
||||||
&& chmod +x /usr/local/bin/gosu \
|
&& chmod +x /usr/local/bin/gosu \
|
||||||
&& apt-get purge -y --auto-remove curl
|
&& apt-get purge -y --auto-remove curl
|
||||||
|
|
||||||
|
@ -5,8 +5,12 @@ FROM debian:wheezy
|
|||||||
RUN groupadd -r postgres && useradd -r -g postgres postgres
|
RUN groupadd -r postgres && useradd -r -g postgres postgres
|
||||||
|
|
||||||
# grab gosu for easy step-down from root
|
# grab gosu for easy step-down from root
|
||||||
|
RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
|
||||||
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
|
||||||
&& curl -o /usr/local/bin/gosu -SL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \
|
&& curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
|
||||||
|
&& curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
|
||||||
|
&& gpg --verify /usr/local/bin/gosu.asc \
|
||||||
|
&& rm /usr/local/bin/gosu.asc \
|
||||||
&& chmod +x /usr/local/bin/gosu \
|
&& chmod +x /usr/local/bin/gosu \
|
||||||
&& apt-get purge -y --auto-remove curl
|
&& apt-get purge -y --auto-remove curl
|
||||||
|
|
||||||
|
@ -5,8 +5,12 @@ FROM debian:wheezy
|
|||||||
RUN groupadd -r postgres && useradd -r -g postgres postgres
|
RUN groupadd -r postgres && useradd -r -g postgres postgres
|
||||||
|
|
||||||
# grab gosu for easy step-down from root
|
# grab gosu for easy step-down from root
|
||||||
|
RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
|
||||||
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
|
||||||
&& curl -o /usr/local/bin/gosu -SL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \
|
&& curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
|
||||||
|
&& curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
|
||||||
|
&& gpg --verify /usr/local/bin/gosu.asc \
|
||||||
|
&& rm /usr/local/bin/gosu.asc \
|
||||||
&& chmod +x /usr/local/bin/gosu \
|
&& chmod +x /usr/local/bin/gosu \
|
||||||
&& apt-get purge -y --auto-remove curl
|
&& apt-get purge -y --auto-remove curl
|
||||||
|
|
||||||
|
@ -5,8 +5,12 @@ FROM debian:wheezy
|
|||||||
RUN groupadd -r postgres && useradd -r -g postgres postgres
|
RUN groupadd -r postgres && useradd -r -g postgres postgres
|
||||||
|
|
||||||
# grab gosu for easy step-down from root
|
# grab gosu for easy step-down from root
|
||||||
|
RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
|
||||||
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
|
||||||
&& curl -o /usr/local/bin/gosu -SL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \
|
&& curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
|
||||||
|
&& curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
|
||||||
|
&& gpg --verify /usr/local/bin/gosu.asc \
|
||||||
|
&& rm /usr/local/bin/gosu.asc \
|
||||||
&& chmod +x /usr/local/bin/gosu \
|
&& chmod +x /usr/local/bin/gosu \
|
||||||
&& apt-get purge -y --auto-remove curl
|
&& apt-get purge -y --auto-remove curl
|
||||||
|
|
||||||
|
@ -5,8 +5,12 @@ FROM debian:wheezy
|
|||||||
RUN groupadd -r postgres && useradd -r -g postgres postgres
|
RUN groupadd -r postgres && useradd -r -g postgres postgres
|
||||||
|
|
||||||
# grab gosu for easy step-down from root
|
# grab gosu for easy step-down from root
|
||||||
|
RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
|
||||||
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
|
||||||
&& curl -o /usr/local/bin/gosu -SL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \
|
&& curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
|
||||||
|
&& curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
|
||||||
|
&& gpg --verify /usr/local/bin/gosu.asc \
|
||||||
|
&& rm /usr/local/bin/gosu.asc \
|
||||||
&& chmod +x /usr/local/bin/gosu \
|
&& chmod +x /usr/local/bin/gosu \
|
||||||
&& apt-get purge -y --auto-remove curl
|
&& apt-get purge -y --auto-remove curl
|
||||||
|
|
||||||
|
@ -5,8 +5,12 @@ FROM debian:wheezy
|
|||||||
RUN groupadd -r postgres && useradd -r -g postgres postgres
|
RUN groupadd -r postgres && useradd -r -g postgres postgres
|
||||||
|
|
||||||
# grab gosu for easy step-down from root
|
# grab gosu for easy step-down from root
|
||||||
|
RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
|
||||||
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
|
||||||
&& curl -o /usr/local/bin/gosu -SL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \
|
&& curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
|
||||||
|
&& curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
|
||||||
|
&& gpg --verify /usr/local/bin/gosu.asc \
|
||||||
|
&& rm /usr/local/bin/gosu.asc \
|
||||||
&& chmod +x /usr/local/bin/gosu \
|
&& chmod +x /usr/local/bin/gosu \
|
||||||
&& apt-get purge -y --auto-remove curl
|
&& apt-get purge -y --auto-remove curl
|
||||||
|
|
||||||
|
@ -5,8 +5,12 @@ FROM debian:wheezy
|
|||||||
RUN groupadd -r postgres && useradd -r -g postgres postgres
|
RUN groupadd -r postgres && useradd -r -g postgres postgres
|
||||||
|
|
||||||
# grab gosu for easy step-down from root
|
# grab gosu for easy step-down from root
|
||||||
|
RUN gpg --keyserver pgp.mit.edu --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
|
||||||
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
|
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* \
|
||||||
&& curl -o /usr/local/bin/gosu -SL 'https://github.com/tianon/gosu/releases/download/1.1/gosu' \
|
&& curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture)" \
|
||||||
|
&& curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.2/gosu-$(dpkg --print-architecture).asc" \
|
||||||
|
&& gpg --verify /usr/local/bin/gosu.asc \
|
||||||
|
&& rm /usr/local/bin/gosu.asc \
|
||||||
&& chmod +x /usr/local/bin/gosu \
|
&& chmod +x /usr/local/bin/gosu \
|
||||||
&& apt-get purge -y --auto-remove curl
|
&& apt-get purge -y --auto-remove curl
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user