Skip to content

Commit 83e7c45

Browse files
Stop the execution if any of the environment scripts fails.
1 parent 9bb25b8 commit 83e7c45

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: Dockerfile

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ MAINTAINER Gonzalo Larralde <[email protected]>
55

66
ADD util/prepare_environment/*.sh ./
77

8-
RUN /bin/bash 010_install_dependencies.sh
9-
RUN /bin/bash 020_install_ndk.sh
10-
RUN /bin/bash 030_build_libiconv_libicu.sh
11-
RUN /bin/bash 040_clone_last_swift.sh
12-
RUN /bin/bash 050_build_swift_android.sh
13-
RUN /bin/bash 060_build_corelibs_libdispatch.sh
14-
RUN /bin/bash 070_build_corelibs_foundation.sh
8+
RUN /bin/bash -e 010_install_dependencies.sh
9+
RUN /bin/bash -e 020_install_ndk.sh
10+
RUN /bin/bash -e 030_build_libiconv_libicu.sh
11+
RUN /bin/bash -e 040_clone_last_swift.sh
12+
RUN /bin/bash -e 050_build_swift_android.sh
13+
RUN /bin/bash -e 060_build_corelibs_libdispatch.sh
14+
RUN /bin/bash -e 070_build_corelibs_foundation.sh
1515

1616
CMD /bin/bash -l

0 commit comments

Comments
 (0)