File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ ARG WINDOWS_VERSION
66FROM mcr.microsoft.com/windows/nanoserver:${WINDOWS_VERSION} AS httpd
77ARG HTTPD_VERSION
88ARG HTTPD_BUILD
9+ USER ContainerAdministrator
910RUN echo "Downloading Apache version: %HTTPD_VERSION% build: %HTTPD_BUILD%" && `
1011 curl -sSL -o httpd.zip "https://www.apachelounge.com/download/VS17/binaries//httpd-%HTTPD_VERSION%-%HTTPD_BUILD%-win64-VS17.zip" && `
1112 tar -xf httpd.zip
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ ARG OPENJDK_DISTRO
44ARG OPENJDK_VERSION
55FROM mcr.microsoft.com/windows/nanoserver:${WINDOWS_VERSION} as installer
66ARG MAVEN_VERSION
7+ USER ContainerAdministrator
78RUN echo "Downloading Maven version: %MAVEN_VERSION%" && `
89 curl.exe -sSL -o maven.zip "https://dlcdn.apache.org/maven/maven-3/%MAVEN_VERSION%/binaries/apache-maven-%MAVEN_VERSION%-bin.zip"
910WORKDIR /maven
Original file line number Diff line number Diff line change @@ -3,11 +3,10 @@ ARG WINDOWS_VERSION
33FROM mcr.microsoft.com/windows/nanoserver:${WINDOWS_VERSION} AS httpd
44ARG NODE_VERSION
55USER ContainerAdministrator
6- WORKDIR /tmp
76RUN echo "Downloading Node version: %NODE_VERSION%" && `
87 curl -sSL -o node.zip "https://nodejs.org/dist/v%NODE_VERSION%/node-v%NODE_VERSION%-win-x64.zip"
98WORKDIR /nodejs
10- RUN tar -xf /tmp/ node.zip --strip-components 1
9+ RUN tar -xf /node.zip --strip-components 1
1110
1211# NodeJS
1312ARG WINDOWS_VERSION
You can’t perform that action at this time.
0 commit comments