Skip to content

Commit

Permalink
Fixed prod deploy: install libgmp-dev in prod (#2548)
Browse files Browse the repository at this point in the history
* fixed prod deploy: install libgmp-dev in prod

* added libgmp-dev to runtime step in prod dockerfile
  • Loading branch information
khavinshankar authored Oct 19, 2024
1 parent 624ea9d commit 2363119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/prod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ WORKDIR $APP_HOME
FROM base AS builder

RUN apt-get update && apt-get install --no-install-recommends -y \
build-essential libjpeg-dev zlib1g-dev libpq-dev git wget \
build-essential libjpeg-dev zlib1g-dev libgmp-dev libpq-dev git wget \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -54,7 +54,7 @@ RUN python3 $APP_HOME/install_plugins.py
FROM base AS runtime

RUN apt-get update && apt-get install --no-install-recommends -y \
libpq-dev gettext wget curl gnupg \
libpq-dev libgmp-dev gettext wget curl gnupg \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 2363119

Please sign in to comment.