https://github.com/5monkeys/docker-node
https://github.com/5monkeys/docker-node
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/5monkeys/docker-node
- Owner: 5monkeys
- Created: 2016-08-30T09:36:21.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-14T08:56:04.000Z (almost 10 years ago)
- Last Synced: 2025-01-26T06:41:13.266Z (over 1 year ago)
- Language: Makefile
- Size: 4.88 KB
- Stars: 0
- Watchers: 15
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node.js on alpine [![Docker Repository on Quay][quay-svg]][quay-repo]
node.js built on top of [Alpine Linux][alpine].
The aim with these images is to provide an Alpine Linux build for node.js with
the same tag names that we expect the main node.js images to have once they are
provided as alpine builds.
[alpine]: http://dockerhub.com/_/alpine
[quay-repo]: https://quay.io/repository/5monkeys/node
[quay-svg]: https://quay.io/repository/5monkeys/node/status
## Image
```console
$ docker pull quay.io/5monkeys/node
```
## Tags
- [`6.4-alpine`][6.4-alpine] node.js v6.4.0
- `latest`, [`6.5-alpine`][6.5-alpine] node.js v6.5.0
[6.4-alpine]: https://github.com/5monkeys/docker-node/tree/6.4-alpine
[6.5-alpine]: https://github.com/5monkeys/docker-node/tree/6.5-alpine
## Acknowledgements
- Thanks to [mhart](https://github.com/mhart/alpine-node/tree/master) for
inspiration with the node.js build. mhart's builds are also currently half
the size of our builds.
## Development
To create a new tag for `$TAG_VERSION` (e.g. `6.5`) based on
`$SOURCE_VERSIOS` (e.g. `6.5.0`):
```console
$ git checkout -b $VERSION-alpine master
$ # Update the nodejs source version in the Dockerfile
$ make set-version v=$SOURCE_VERSION
$ $EDITOR Dockerfile
$ git commit Dockerfile
$ git push -u origin $TAG_VERSION-alpine
```
### Updating a branch
If `master` has been updated with new build optimizations, you might
want to include that in the "old" images as well.
```console
$ git checkout $TAG_VERSION-alpine
$ git merge master
$ # Ensure that the source version is still set to the proper version
$ make set-version $SOURCE_VERSION
$ git push -u origin $TAG_VERSION-alpine
```