Skip to content

Commit ea156cc

Browse files
authored
dogfood: upgrade postgres (#4642)
1 parent eb04a7e commit ea156cc

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

dogfood/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ RUN apt-get update --quiet && apt-get install --yes \
147147
google-cloud-sdk \
148148
google-cloud-sdk-datastore-emulator \
149149
kubectl \
150-
postgresql-11 \
150+
postgresql-13 \
151151
containerd.io \
152152
docker-ce \
153153
docker-ce-cli \
@@ -184,8 +184,8 @@ RUN apt-get update && \
184184
npm i -g playwright@1.19.1 && playwright install-deps
185185

186186
# Ensure PostgreSQL binaries are in the users $PATH.
187-
RUN update-alternatives --install /usr/local/bin/initdb initdb /usr/lib/postgresql/11/bin/initdb 100 && \
188-
update-alternatives --install /usr/local/bin/postgres postgres /usr/lib/postgresql/11/bin/postgres 100
187+
RUN update-alternatives --install /usr/local/bin/initdb initdb /usr/lib/postgresql/13/bin/initdb 100 && \
188+
update-alternatives --install /usr/local/bin/postgres postgres /usr/lib/postgresql/13/bin/postgres 100
189189

190190
# Create links for injected dependencies
191191
RUN ln --symbolic /var/tmp/coder/coder-cli/coder /usr/local/bin/coder && \

dogfood/files/etc/apt/preferences.d/postgresql

-14
This file was deleted.

0 commit comments

Comments
 (0)