File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,12 @@ FROM bbernhard/imagemonkey-buildbase:latest
4
4
5
5
ARG POSTGRES_CLIENT_VERSION
6
6
7
- RUN echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list
7
+ RUN apt-get update && apt-get install -y --no-install-recommends \
8
+ curl gnupg ca-certificates \
9
+ && rm -rf /var/lib/apt/lists/*
8
10
9
- RUN echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list \
10
- && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
11
+ RUN echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" >> /etc/apt/sources.list.d/pgdg.list
12
+ RUN curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null
11
13
12
14
RUN apt-get update && apt-get install -y --no-install-recommends \
13
15
postgresql-client-${POSTGRES_CLIENT_VERSION} \
You can’t perform that action at this time.
0 commit comments