docker: adjust dockerfile and workflow for arm64 builds

This commit is contained in:
Slava 2025-02-24 14:21:03 +02:00
parent 3f2feafb17
commit 6c109cab44
No known key found for this signature in database
GPG Key ID: 351E7AA9BD0DFEB8
2 changed files with 11 additions and 3 deletions

View File

@ -24,4 +24,6 @@ jobs:
docker_file: docker/deluge.Dockerfile
dockerhub_repo: codexstorage/deluge
tag_latest: ${{ github.ref_name == github.event.repository.default_branch || startsWith(github.ref, 'refs/tags/') }}
checkout-fetch-depth: 0
checkout-fetch-tags: true
secrets: inherit

View File

@ -28,9 +28,15 @@ RUN conda create -y -n 'deluge' python=3.8
RUN conda init bash
RUN echo "conda activate deluge" > ~/.bashrc
RUN conda install -y anaconda::py-boost\
anaconda::gxx_linux-64\
anaconda:openssl
RUN if [ $(uname -m) = "aarch64" ]; then \
conda install -y anaconda::py-boost \
anaconda::gxx_linux-aarch64 \
anaconda:openssl; \
else \
conda install -y anaconda::py-boost \
anaconda::gxx_linux-64 \
anaconda:openssl; \
fi
COPY . ./