Skip to content

ci: test with multiple postgres versions #13665

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 10 commits into from
Jun 26, 2024
Prev Previous commit
Next Next commit
update postgres version
  • Loading branch information
johnstcn committed Jun 26, 2024
commit 3c23423b22666127e28de0050fa823b1c0bf9ab2
6 changes: 3 additions & 3 deletions dogfood/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ RUN apt-get update --quiet && apt-get install --yes \
openssl \
packer \
pkg-config \
postgresql-13 \
postgresql-16 \
python3 \
python3-pip \
rsync \
Expand Down Expand Up @@ -209,8 +209,8 @@ RUN apt-get update && \
npm cache clean --force

# Ensure PostgreSQL binaries are in the users $PATH.
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
RUN update-alternatives --install /usr/local/bin/initdb initdb /usr/lib/postgresql/16/bin/initdb 100 && \
update-alternatives --install /usr/local/bin/postgres postgres /usr/lib/postgresql/16/bin/postgres 100

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