Skip to content

Commit

Permalink
jammy instead of ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
munakoiso committed Nov 16, 2023
1 parent 51d62a4 commit 3db643a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:bionic
FROM ubuntu:jammy
ENV container docker
ENV DEBIAN_FRONTEND noninteractive
ADD https://www.postgresql.org/media/keys/ACCC4CF8.asc keyring.asc
Expand All @@ -10,7 +10,7 @@ APT::Install-Suggests "0";' > /etc/apt/apt.conf.d/01buildconfig && \
apt-get install -qq --no-install-recommends gpg gpg-agent && \
apt-key add keyring.asc

RUN echo "deb http://apt.postgresql.org/pub/repos/apt bionic-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
RUN echo "deb http://apt.postgresql.org/pub/repos/apt jammy-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
apt-get update && apt-get install wget gnupg ca-certificates locales && \
locale-gen en_US.UTF-8 && \
apt-get update && \
Expand Down
4 changes: 2 additions & 2 deletions tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:bionic
FROM ubuntu:jammy

ARG pg_major
ARG confpath="tests/conf"
Expand All @@ -20,7 +20,7 @@ APT::Install-Suggests "0";' > /etc/apt/apt.conf.d/01buildconfig && \
apt-get install -qq --no-install-recommends gpg gpg-agent wget gnupg ca-certificates && \
apt-key add keyring.asc

RUN echo "deb http://apt.postgresql.org/pub/repos/apt bionic-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
RUN echo "deb http://apt.postgresql.org/pub/repos/apt jammy-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
apt-get update && apt-get -y install \
postgresql-common \
postgresql-client-common
Expand Down

0 comments on commit 3db643a

Please sign in to comment.