Skip to content

Commit

Permalink
Merge pull request #35420 from dimagi/dm/uv-uwsgi-fix
Browse files Browse the repository at this point in the history
Fix uwsgi error in docker build
  • Loading branch information
millerdev authored Nov 21, 2024
2 parents be39fb3 + 41fc597 commit 29d47d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 29d47d3

Please sign in to comment.