The command '/bin/sh -c /mofem/scripts/docker_build_core_lib_script.sh' returned a non-zero code: 127

16 views
Skip to first unread message

RuiAng

unread,
Feb 3, 2019, 8:45:00 AM2/3/19
to mofem Group
Hi,

I am encountering a problem in STEP: BUILD DOCKER IMAGE (Windows).


Status: Downloaded newer image for likask/ubuntu_mofem:latest
 ---> 72b901a0c2f0
Step 2/7 : MAINTAINER Lukasz.Ka...@glasgow.ac.uk
 ---> Running in 384b23ef082b
Removing intermediate container 384b23ef082b
 ---> 9fee2dcfa704
Step 3/7 : ADD mofem /mofem
 ---> 22fc4fa1a639
Step 4/7 : RUN /mofem/scripts/docker_build_core_lib_script.sh
 ---> Running in 8a162087e0cb
/bin/sh: 1: /mofem/scripts/docker_build_core_lib_script.sh: not found
Removing intermediate container 8a162087e0cb
The command '/bin/sh -c /mofem/scripts/docker_build_core_lib_script.sh' returned a non-zero code: 127


Can anyone give me suggestions on this problem?

Thanks in advance!

RuiAng

unread,
Feb 3, 2019, 9:50:56 AM2/3/19
to mofem Group
The problem has been solved.

Just convert the docker_build_core_lib_script.sh file to LF from CR+LF.
Reply all
Reply to author
Forward
0 new messages