Skip to content

Commit

Permalink
Update Node.js 10.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanScherer committed Aug 6, 2018
1 parent 1448384 commit 30cf416
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion node/10/Dockerfile
Expand Up @@ -23,7 +23,7 @@ RUN @( \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys $_ ; \
}

ENV NODE_VERSION 10.7.0
ENV NODE_VERSION 10.8.0

RUN Invoke-WebRequest $('https://nodejs.org/dist/v{0}/SHASUMS256.txt.asc' -f $env:NODE_VERSION) -OutFile 'SHASUMS256.txt.asc' -UseBasicParsing ; \
gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc
Expand Down
22 changes: 11 additions & 11 deletions node/10/README.md
@@ -1,22 +1,22 @@
# Node

A Windows Server Core Docker container image with Node.js 10.7.0 installed.
A Windows Server Core Docker container image with Node.js 10.8.0 installed.

## Images

- stefanscherer/node-windows:10.7.0 -> Nano Server + Node + NPM + Yarn + Git
- stefanscherer/node-windows:10.7.0-pure -> Nano Server + Node
- stefanscherer/node-windows:10.7.0-windowsservercore -> Windows Server Core + Node + NPM + Yarn + Git
- stefanscherer/node-windows:10.7.0-build-tools -> + Python + C++ build tools
- stefanscherer/node-windows:10.8.0 -> Nano Server + Node + NPM + Yarn + Git
- stefanscherer/node-windows:10.8.0-pure -> Nano Server + Node
- stefanscherer/node-windows:10.8.0-windowsservercore -> Windows Server Core + Node + NPM + Yarn + Git
- stefanscherer/node-windows:10.8.0-build-tools -> + Python + C++ build tools

## Building

To build the images yourself use the following commands:

```
docker build -t node:10.7.0-windowsservercore .
docker build -t node:10.7.0-nanoserver nano
docker build -t node:10.7.0-pure pure
docker build -t node:10.8.0-windowsservercore .
docker build -t node:10.8.0-nanoserver nano
docker build -t node:10.8.0-pure pure
```

### Build with 1709 or newer base images
Expand All @@ -26,14 +26,14 @@ On Windows Server 1709 or 1803 or any current Windows 10 machine you might want
The `Dockerfile` is prepared to run on any Windows platform, but you have to specify some build arguments to make it work with newer base images.

```
docker build -t node:10.7.0-windowsservercore `
docker build -t node:10.8.0-windowsservercore `
--build-arg core=microsoft/windowsservercore:1803 `
--build-arg target=microsoft/nanoserver:1803 .
docker build -t node:10.7.0-nanoserver `
docker build -t node:10.8.0-nanoserver `
--build-arg core=microsoft/windowsservercore:1803 `
--build-arg target=microsoft/nanoserver:1803 `
--build-arg "SETX= " nano
docker build -t node:10.7.0-pure `
docker build -t node:10.8.0-pure `
--build-arg core=microsoft/windowsservercore:1803 `
--build-arg target=microsoft/nanoserver:1803 pure
```
Expand Down
2 changes: 1 addition & 1 deletion node/10/build-tools/Dockerfile
@@ -1,4 +1,4 @@
ARG node=node:10.7.0-windowsservercore
ARG node=node:10.8.0-windowsservercore
FROM $node

RUN npm install --global windows-build-tools ; \
Expand Down
2 changes: 1 addition & 1 deletion node/10/build-tools/Dockerfile.insider
@@ -1,3 +1,3 @@
FROM stefanscherer/node-windows:10.7.0-insider-core
FROM stefanscherer/node-windows:10.8.0-insider-core

RUN npm install --global windows-build-tools
2 changes: 1 addition & 1 deletion node/10/nano/Dockerfile
Expand Up @@ -23,7 +23,7 @@ RUN @( \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys $_ ; \
}

ENV NODE_VERSION 10.7.0
ENV NODE_VERSION 10.8.0

RUN Invoke-WebRequest $('https://nodejs.org/dist/v{0}/SHASUMS256.txt.asc' -f $env:NODE_VERSION) -OutFile 'SHASUMS256.txt.asc' -UseBasicParsing ; \
gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc
Expand Down
2 changes: 1 addition & 1 deletion node/10/pure/Dockerfile
Expand Up @@ -23,7 +23,7 @@ RUN @( \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys $_ ; \
}

ENV NODE_VERSION 10.7.0
ENV NODE_VERSION 10.8.0

RUN Invoke-WebRequest $('https://nodejs.org/dist/v{0}/SHASUMS256.txt.asc' -f $env:NODE_VERSION) -OutFile 'SHASUMS256.txt.asc' -UseBasicParsing ; \
gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc
Expand Down
2 changes: 1 addition & 1 deletion node/build.ps1
Expand Up @@ -17,4 +17,4 @@ Write-Output "Running update-docker.ps1"

#buildVersion "6.14.3" "6.14" "6"
#buildVersion "8.11.3" "8.11" "8"
buildVersion "10.7.0" "10.7" "10"
buildVersion "10.8.0" "10.8" "10"
2 changes: 1 addition & 1 deletion node/push.ps1
Expand Up @@ -96,4 +96,4 @@ choco install -y manifest-tool

#pushVersion "6.14.3" "6.14" "6"
#pushVersion "8.11.3" "8.11" "8"
pushVersion "10.7.0" "10.7" "10"
pushVersion "10.8.0" "10.8" "10"
2 changes: 1 addition & 1 deletion node/test.ps1
Expand Up @@ -33,4 +33,4 @@ function testVersion($majorMinorPatch, $yarnVersion) {

#testVersion "6.14.3" "1.6.0"
#testVersion "8.11.3" "1.6.0"
testVersion "10.7.0" "1.7.0"
testVersion "10.8.0" "1.7.0"

0 comments on commit 30cf416

Please sign in to comment.