Skip to content

Commit f81fd9f

Browse files
committed
update Dockerfile
1 parent edc1923 commit f81fd9f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ ENV CMAKE_VERSION=${CMAKE_VERSION}
1515
ENV NINJA_VERSION=${NINJA_VERSION}
1616
ENV NASM_VERSION=${NASM_VERSION}
1717

18-
RUN `
19-
curl -SL --output cmake.zip https://github.com/Kitware/CMake/releases/download/v%CMAKE_VERSION%/cmake-%CMAKE_VERSION%-windows-x86_64.zip `
18+
RUN mkdir C:\Temp && cd C:\Temp `
19+
&& curl -SL --output cmake.zip https://github.com/Kitware/CMake/releases/download/v%CMAKE_VERSION%/cmake-%CMAKE_VERSION%-windows-x86_64.zip `
2020
&& mkdir "C:\CMake" `
2121
&& tar -xf cmake.zip -C "C:\CMake" `
2222
&& del /q cmake.zip
2323

24-
RUN `
25-
curl -SL --output nasm.zip https://www.nasm.us/pub/nasm/releasebuilds/%NASM_VERSION%/win64/nasm-%NASM_VERSION%-win64.zip `
26-
&& mkdir "nasm" `
27-
&& tar -xf nasm.zip -C "nasm" `
24+
RUN cd C:\Temp `
25+
&& curl -SL --output nasm.zip https://www.nasm.us/pub/nasm/releasebuilds/%NASM_VERSION%/win64/nasm-%NASM_VERSION%-win64.zip `
26+
&& mkdir "C:\nasm" `
27+
&& tar -xf nasm.zip -C "C:\nasm" `
2828
&& del /q nasm.zip
2929

30-
RUN `
31-
curl -SL --output ninja.zip https://github.com/ninja-build/ninja/releases/download/v%NINJA_VERSION%/ninja-win.zip `
30+
RUN cd C:\Temp `
31+
&& curl -SL --output ninja.zip https://github.com/ninja-build/ninja/releases/download/v%NINJA_VERSION%/ninja-win.zip `
3232
&& mkdir "C:\ninja" `
3333
&& tar -xf ninja.zip -C "C:\ninja" `
3434
&& del /q ninja.zip

0 commit comments

Comments
 (0)