Skip to content

Commit

Permalink
Merge pull request #6152 from specify/docker-fix-3
Browse files Browse the repository at this point in the history
Fix Dockerfile dependencies for arm64 docker build error on GitHub Actions
  • Loading branch information
acwhite211 authored Jan 24, 2025
2 parents 028677a + c98d279 commit 502603c
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,26 @@ RUN apt-get update \
ca-certificates \
curl \
git \
libldap2-dev \
libmariadbclient-dev \
libsasl2-dev \
libsasl2-modules-gssapi-mit \
libldap2-dev \
libssl-dev \
libgmp-dev \
libffi-dev \
python3.8-venv \
python3.8-distutils \
python3.8-dev
python3.8-dev \
default-libmysqlclient-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

USER specify
COPY --chown=specify:specify requirements.txt /home/specify/

WORKDIR /opt/specify7
RUN python3.8 -m venv ve \
&& ve/bin/pip install --no-cache-dir -r /home/specify/requirements.txt
&& ve/bin/pip install --no-cache-dir --upgrade pip setuptools wheel \
&& ve/bin/pip install -v --no-cache-dir -r /home/specify/requirements.txt
RUN ve/bin/pip install --no-cache-dir gunicorn

COPY --from=build-frontend /home/node/dist specifyweb/frontend/static/js
Expand Down

0 comments on commit 502603c

Please sign in to comment.