Closed Trecoolius closed 5 months ago
I can fix at least some dependencies, see attached Dockerfile. I got rid of some of the cleanup commands, so this will make a bigger image set, but it makes it easier to manually fix the dependencies afterwards.
However, that doesn't fix it: The problem is that it is looking for the .git folder, which the volume in the docker container cannot see because it is mounting src/ in the container, and that is deeper inside the git.
FROM mambaorg/micromamba:0.8.2
RUN apt-get update && \
apt-get install -y libgl1-mesa-glx gcc bash git
WORKDIR /app
RUN micromamba install -y -n base -c conda-forge -c cadquery \
python=3 \
cadquery=master \
numpy=1 \
scipy=1 gitpython
RUN pip3 install solidpython
WORKDIR /app/src
I tried cloneing the git repo inside the shell and running stuff manually, but got nowhere.
Basically, I think this is something that works in whatever setup the main developer is using, but they have made some changes that break the docker setup.
Thanks, I made it work, but I am not using a dockerfile.
Trying to run the supplied script, but I think the dependencies are messed up:
Using Python 3.9.18