Skip to content

Commit ea156cc

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

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

dogfood/Dockerfile

Lines changed: 3 additions & 3 deletions
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

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy