Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beardedeagle/alpine-node-builder
Up to date Alpine image with the latest Node and NPM versions for staged builds.
https://github.com/beardedeagle/alpine-node-builder
alpine docker git nodejs npm
Last synced: 25 days ago
JSON representation
Up to date Alpine image with the latest Node and NPM versions for staged builds.
- Host: GitHub
- URL: https://github.com/beardedeagle/alpine-node-builder
- Owner: beardedeagle
- License: mit
- Created: 2018-08-20T21:04:31.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-03T04:52:10.000Z (almost 4 years ago)
- Last Synced: 2023-03-04T09:31:15.557Z (over 1 year ago)
- Topics: alpine, docker, git, nodejs, npm
- Language: Dockerfile
- Homepage:
- Size: 38.1 KB
- Stars: 17
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker + Alpine + Node = Love
This Dockerfile provides a good base build image to use in multistage builds for Node apps. It comes with the latest version of Alpine, Node and NPM. It is intended for use in creating release images with or for your application and allows you to avoid cross-compiling releases. The exception of course is if your app has dependencies which require a native compilation toolchain, but that is an exercise left to the user.
No effort has been made to make this image suitable to run in unprivileged environments. The repository owner is not responsible for any losses that result from improper usage or security practices, as it is expected that the user of this image will implement proper security practices themselves.
## Software/Language Versions
```shell
Alpine 3.13.1
Nodejs 15.8.0
NPM 7.5.2
Git 2.30.0
```## Usage
To boot straight to a node prompt in the image:
```shell
$ docker run --rm -i -t beardedeagle/alpine-node-builder node
Welcome to Node.js v15.8.0.
Type ".help" for more information.
>
```