Skip to content
Open
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
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

FROM node:20
FROM node:22

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -35,7 +35,7 @@ RUN apt-get update \
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& apt-get update \
&& apt-get -y install --no-install-recommends yarn tmux locales postgresql \
&& apt-get install libpq-dev g++ make \
&& apt-get install libpq-dev python3 g++ make \
#
# Install eslint globally
&& npm install -g eslint \
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ services:
- db:db

db:
image: postgres:14-alpine
image: postgres:14
restart: unless-stopped
ports:
- 5432:5432
Expand Down
2 changes: 1 addition & 1 deletion packages/pg-native/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('connection', function () {
})

it('connects with args', function (done) {
Client().connect('host=localhost', done)
Client().connect(`host=${process.env.PGHOST || 'localhost'}`, done)
})

it('errors out with bad connection args', function (done) {
Expand Down