Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Dockerfile dependencies for arm64 docker build error on GitHub Actions #6152

Merged
merged 5 commits into from
Jan 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading