Question
Does anybody know how to fix this exec format error?
star-trek-13 | 21:21:18 INFO[0013] RUN apt-get update && apt-get install -y –no-install-recommends git ca-certificates
star-trek-13 | 21:21:18 INFO[0013] Taking snapshot of full filesystem…
star-trek-13 | 21:21:20 INFO[0015] cmd: /bin/sh
star-trek-13 | 21:21:20 INFO[0015] args: [-c apt-get update && apt-get install -y –no-install-recommends git ca-certificates]
star-trek-13 | 21:21:20 INFO[0015] Running: [/bin/sh -c apt-get update && apt-get install -y –no-install-recommends git ca-certificates]
star-trek-13 | 21:21:20 error building image: error building stage: failed to execute command: starting command: fork/exec /bin/sh: exec format error
star-trek-13 | 21:21:20 exit status 1
star-trek-13 | 21:21:20 ! Build failed (exit code 1)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×