Skip to content

Commit 67473c5

Browse files
authored
docs: Debian-based Node images
1 parent ddddfcb commit 67473c5

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

packages/pg-native/README.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,13 @@ You need PostgreSQL client libraries & tools installed. An easy way to check is
1111
Some ways I've done it in the past:
1212

1313
- On macOS: `brew install libpq`
14-
- On Ubuntu/Debian: `apt-get install libpq-dev g++ make`
14+
- On Ubuntu/Debian and Debian-based Node images: `apt-get install libpq-dev python3 g++ make`
1515
- On RHEL/CentOS: `yum install postgresql-devel`
1616
- On Windows:
1717
1. Install Visual Studio C++ (successfully built with Express 2010). Express is free.
1818
2. Install PostgreSQL (`http://www.postgresql.org/download/windows/`)
1919
3. Add your Postgre Installation's `bin` folder to the system path (i.e. `C:\Program Files\PostgreSQL\9.3\bin`).
2020
4. Make sure that both `libpq.dll` and `pg_config.exe` are in that folder.
21-
- On Docker:
22-
```Docker
23-
FROM node:24-slim
24-
ENV DEBIAN_FRONTEND=noninteractive
25-
RUN apt-get update \
26-
&& apt-get -y install libpq-dev python3 g++ make \
27-
&& apt-get autoremove -y \
28-
&& apt-get clean -y \
29-
&& rm -rf /var/lib/apt/lists/*
30-
```
3121

3222
Afterwards `pg_config` should be in your path. Then...
3323

0 commit comments

Comments
 (0)