Skip to content

Commit

Permalink
Update Dockerfile.ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryoverload authored Dec 12, 2023
1 parent 08c2b78 commit ca6d572
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ ARG POSTGRES_VERSION=15

FROM ubuntu:latest AS base

RUN apt-get -y update && apt-get -y install wget &&
echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list &&
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - &&
RUN apt-get -y update && apt-get -y install wget && \
echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
apt-get -y update

RUN apt-get -y install postgresql-client-${POSTGRES_VERSION}

0 comments on commit ca6d572

Please sign in to comment.