diff --git a/Dockerfile b/Dockerfile index f24f03dbdbc7..6550c161177d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,7 @@ RUN apt-get update \ && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ && apt-get update \ && apt-get install -y --no-install-recommends \ + build-essential \ bzip2 \ default-jre \ gettext \ @@ -37,6 +38,9 @@ RUN apt-get update \ libxmlsec1-openssl \ make \ && rm -rf /var/lib/apt/lists/* /src/*.deb +# build-essential allows uv to build uwsgi; increases image size by 240 MB +# libpq-dev is for make-requirements-test.sh; increases image size by ~20 MB +# libpq-dev can be replaced with libpq5 if pip-tools is replaced with uv in make-requirements-test.sh RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \ && tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \