Node,js on Windows Nano Server, from version 4 to 22
10K+
This project brings Node.js (version 4 to 22) on Microsoft Windows Nano Server base image.
latest 23 23-ltsc2022jod jod-ltsc2022 22 22-ltsc2022iron iron-ltsc2022 20 20-ltsc2022hydrogen hydrogen-ltsc2022 18 18-ltsc2022gallium gallium-ltsc2022 16 16-ltsc2022fermium fermium-ltsc2022 14 14-ltsc2022erbium erbium-ltsc2022 12 12-ltsc2022dubnium dubnium-ltsc2022 10 10-ltsc2022carbon carbon-ltsc2022 8 8-ltsc2022boron boron-ltsc2022 6 6-ltsc2022argon argon-ltsc2022 4 4-ltsc2022Full list of tags avilable at both GitHub Container registry and Docker Hub Container registry.
This project is intended to be used as base image for other Node-based projects. An example Dockerfile:
FROM amitie10g/node-nanoserver:iron
COPY . C:\\Users\\ContainerUser\\app
RUN npm install --omit=dev
ENTRYPOINT ["npm", "start"]
If you need to install system-wide software, you need to set USER as ContainerAdministrator. Afterward, you need to change it back to ContinerUser.
If you want to use it within GitHub Actions, prefer the GitHub Container registry: ghcr.io/amitie10g/node-nanoserver
Containers for this project has been built using GitHub Actions for automated weekly builds from 4 to 22 under Windows Nano Server ltsc2022 and ltsc2019. GitHub provides runners only for Windows Server 2022 (ltsc2022) and Server 2019 (ltsc2019) and no hyperv isolation is supported. If you need other versions of Windows, follow this instructions.
docker build -t <tag> --build-arg NODE_VER=<node version> --build-arg BASE_IMG=<base image> --build-arg CONT_VER=<container version> .
Where,
NODE_VER is used to download Node from https://nodejs.org/dist/v${NODE_VER}/node-v${NODE_VER}-win-x64.zipBASE_IMG is the base image, either windows/nanoserver or powershellCONT_VER is the tag available for each base image. For a full list of available tags, consult the respective page of the base images provided (links above).Content type
Image
Digest
sha256:6f993af8a…
Size
141.7 MB
Last updated
2 days ago
docker pull amitie10g/node-nanoserver:25.9.0-ltsc2019