From 93b24ff50ce62c6014c984fb8c71f0fdf7d29666 Mon Sep 17 00:00:00 2001 From: songtianlun Date: Wed, 22 Jan 2025 09:29:37 +0800 Subject: [PATCH] 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. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 80c6c5b..e40dbe4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ FROM base AS build # Install packages needed to build gems and node modules 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 # Install JavaScript dependencies