mirror of
https://github.com/logos-storage/deluge.git
synced 2026-01-02 21:23:10 +00:00
docker: adjust dockerfile and workflow for arm64 builds (#2)
This commit is contained in:
parent
3f2feafb17
commit
86d6c8fe4e
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -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
|
||||
|
||||
@ -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 . ./
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user