Skip to content

Commit

Permalink
chore: resolve broken gcc deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtawast committed Aug 20, 2024
1 parent 6315278 commit 4f138c7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions backend/docker/benefit-ubi-arm.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ RUN dnf update -y \
xmlsec1 \
xmlsec1-openssl \
cyrus-sasl-devel \
openssl-devel \
&& pip install -U pip \
openssl-devel
RUN pip install -U pip \
&& pip install --no-cache-dir -r /app/requirements.txt \
&& pip install --no-cache-dir -r /app/requirements-prod.txt \
&& uwsgi --build-plugin /app/.prod/escape_json.c \
Expand Down Expand Up @@ -54,7 +54,7 @@ FROM appbase AS development
# ==============================

COPY --chown=default:root benefit/requirements-dev.txt /app/requirements-dev.txt
RUN dnf install -y gcc \
RUN dnf install -y gcc --allowerasing \
&& pip install --no-cache-dir -r /app/requirements-dev.txt \
&& dnf remove -y gcc \
&& dnf clean all
Expand Down
6 changes: 3 additions & 3 deletions backend/docker/benefit.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ RUN dnf update -y \
xmlsec1 \
xmlsec1-openssl \
cyrus-sasl-devel \
openssl-devel \
&& pip install -U pip \
openssl-devel
RUN pip install -U pip \
&& pip install --no-cache-dir -r /app/requirements.txt \
&& pip install --no-cache-dir -r /app/requirements-prod.txt \
&& uwsgi --build-plugin /app/.prod/escape_json.c \
Expand Down Expand Up @@ -54,7 +54,7 @@ FROM appbase AS development
# ==============================

COPY --chown=default:root benefit/requirements-dev.txt /app/requirements-dev.txt
RUN dnf install -y gcc \
RUN dnf install -y gcc --allowerasing \
&& pip install --no-cache-dir -r /app/requirements-dev.txt \
&& dnf remove -y gcc \
&& dnf clean all
Expand Down
2 changes: 1 addition & 1 deletion backend/docker/kesaseteli.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ FROM appbase AS development
# ==============================

COPY --chown=default:root kesaseteli/requirements-dev.txt /app/requirements-dev.txt
RUN dnf install -y gcc \
RUN dnf install -y gcc --allowerasing \
&& pip install --no-cache-dir -r /app/requirements-dev.txt \
&& dnf remove -y gcc \
&& dnf clean all
Expand Down

0 comments on commit 4f138c7

Please sign in to comment.