diff --git a/dogfood/Dockerfile b/dogfood/Dockerfile index 119b3f281b5f1..08a82afee17e3 100644 --- a/dogfood/Dockerfile +++ b/dogfood/Dockerfile @@ -147,7 +147,7 @@ RUN apt-get update --quiet && apt-get install --yes \ google-cloud-sdk \ google-cloud-sdk-datastore-emulator \ kubectl \ - postgresql-11 \ + postgresql-13 \ containerd.io \ docker-ce \ docker-ce-cli \ @@ -184,8 +184,8 @@ RUN apt-get update && \ npm i -g playwright@1.19.1 && playwright install-deps # Ensure PostgreSQL binaries are in the users $PATH. -RUN update-alternatives --install /usr/local/bin/initdb initdb /usr/lib/postgresql/11/bin/initdb 100 && \ - update-alternatives --install /usr/local/bin/postgres postgres /usr/lib/postgresql/11/bin/postgres 100 +RUN update-alternatives --install /usr/local/bin/initdb initdb /usr/lib/postgresql/13/bin/initdb 100 && \ + update-alternatives --install /usr/local/bin/postgres postgres /usr/lib/postgresql/13/bin/postgres 100 # Create links for injected dependencies RUN ln --symbolic /var/tmp/coder/coder-cli/coder /usr/local/bin/coder && \ diff --git a/dogfood/files/etc/apt/preferences.d/postgresql b/dogfood/files/etc/apt/preferences.d/postgresql deleted file mode 100644 index 5d3a76b0694ce..0000000000000 --- a/dogfood/files/etc/apt/preferences.d/postgresql +++ /dev/null @@ -1,14 +0,0 @@ -# Ignore all packages from this repository by default -Package: * -Pin: origin apt.postgresql.org -Pin-Priority: 1 - -# PostgreSQL server for local development -Package: postgresql-11 -Pin: origin apt.postgresql.org -Pin-Priority: 500 - -# PostgreSQL client -Package: postgresql-client-11 -Pin: origin apt.postgresql.org -Pin-Priority: 500