chore: update Dockerfile to include libpq-dev
- Add libpq-dev to the list of packages installed for the build - Ensure that the environment has the necessary dependencies This change updates the Dockerfile to include the libpq-dev package, which is required for compiling certain gem dependencies. The inclusion of this package improves the compatibility of the environment with database-related gems during the build process, ensuring a smoother setup for development and deployment.
This commit is contained in:
parent
c9aef3ddfe
commit
93b24ff50c
@ -30,7 +30,7 @@ FROM base AS build
|
|||||||
|
|
||||||
# Install packages needed to build gems and node modules
|
# Install packages needed to build gems and node modules
|
||||||
RUN apt-get update -qq && \
|
RUN apt-get update -qq && \
|
||||||
apt-get install --no-install-recommends -y build-essential git node-gyp pkg-config python-is-python3 && \
|
apt-get install --no-install-recommends -y build-essential git node-gyp pkg-config python-is-python3 libpq-dev && \
|
||||||
rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||||
|
|
||||||
# Install JavaScript dependencies
|
# Install JavaScript dependencies
|
||||||
|
Loading…
Reference in New Issue
Block a user