Skip to content

dogfood: upgrade postgres #4642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dogfood/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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 && \
Expand Down
14 changes: 0 additions & 14 deletions dogfood/files/etc/apt/preferences.d/postgresql

This file was deleted.