Closed BorisYourich closed 1 year ago
@BorisYourich Cool! If the image builds on Linux as well, I'll be happy to replace the existing Dockerfile
. Can easily be tested via GitHub Actions. Certainly better than having to maintain two Dockerfile
s / images.
Is your feature request related to a problem? Please describe. This Issue stems from the fact that conda on macOS(Monterey and possibly higher) with arm64 chip is not able to create htsinfer environment due to the following error:
Describe the solution you'd like I couldn't find any user-friendly fix or workaround, and since I sometimes develop on a mac I decided to create a docker image.
Describe alternatives you've considered NA
Additional context The image can be downloaded by
docker pull edirexbot/htsinfer:dev
and executed via:--platform switch is there specifically for the arm64 architecture of the mac M1 chip and is not necessary. The volume is mounted on the
/tmp
directory in the container in this case, but similarly the command:could have been executed instead, as the entire
htsinfer
repo is inside the container in the/htsinfer
directory.The image is built by creating the conda environment inside the image. This is just a temporary solution that was easy to implement. If the container version of
htsinfer
is something that is desired, I could install the dependencies without the conda and make the image a bit more lightweight and also include the docker image build in the CI/CD pipeline when the dev branch is changed.