I have a Dockerfile where I want to setup my environment. Therefore I have to install some gems.
When installing psych it crashes with the error: No such file or directory - /usr/local/bundle/gems/psych-5.1.2-java/deps.lst
My setup:
Apple M3 Pro
macOS 14.6.1
Docker 4.34.2 (167172)
I also tried another base image (eclipse-temurin), but there's the same problem.
I don't know what I can do to make this work.
I simplified that Dockerfile so that it boils down to the problem:
I have a Dockerfile where I want to setup my environment. Therefore I have to install some gems. When installing psych it crashes with the error: No such file or directory - /usr/local/bundle/gems/psych-5.1.2-java/deps.lst
My setup: Apple M3 Pro macOS 14.6.1 Docker 4.34.2 (167172)
I also tried another base image (eclipse-temurin), but there's the same problem.
I don't know what I can do to make this work.
I simplified that Dockerfile so that it boils down to the problem:
Run command:
And this is the error message: