File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,13 @@ RUN ARCH=$(uname -m) \
29
29
ENV PATH /opt/cmake/bin:$PATH
30
30
31
31
# As with CMake install a later version of Ninja than waht 18.04 has.
32
- # FIXME as part of PR. Write if statement over multiple lines
33
32
RUN ARCH=$(uname -m) \
34
- && if [ "$ARCH" = "aarch64" ]; then curl -sSLO https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux-aarch64.zip ; unzip ninja-linux-aarch64.zip; else curl -sSLO https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux.zip ; unzip ninja-linux.zip; fi \
33
+ && if [ "$ARCH" = "aarch64" ]; then \
34
+ && curl -sSLO https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux-aarch64.zip ; \
35
+ && else \
36
+ && curl -sSLO https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux.zip ;
37
+ && fi \
38
+ && unzip ninja*.zip \
35
39
&& rm *.zip \
36
40
&& mv ninja /opt/cmake/bin
37
41
You can’t perform that action at this time.
0 commit comments