https://github.com/nodesource/docker-node-legacy
Docker image build scripts for Debian and Ubuntu using the NodeSource Node.js repository
https://github.com/nodesource/docker-node-legacy
Last synced: 10 months ago
JSON representation
Docker image build scripts for Debian and Ubuntu using the NodeSource Node.js repository
- Host: GitHub
- URL: https://github.com/nodesource/docker-node-legacy
- Owner: nodesource
- Created: 2014-08-02T23:32:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-06T01:51:05.000Z (almost 11 years ago)
- Last Synced: 2025-01-18T13:29:34.196Z (12 months ago)
- Language: Shell
- Homepage: https://registry.hub.docker.com/u/nodesource/node/
- Size: 6.02 MB
- Stars: 2
- Watchers: 35
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
docker-node (depreciated)
===
### We now offer images with version pinning for node. Please follow the migration path to begin using these images.
The new images can be found [here](https://github.com/nodesource/docker-node).
The images in docker-node-legacy contain Node.js 0.10.32, and will not be updated. The new images have Node.js 0.10.30 through Node.js 0.12.0 and io.js versions 1.3.0 through io.js 1.5.1, available through individual tags.
# Migration Path
### Step 1.
Determine the version of node contained in the docker container you are using, for example:
```text
$ docker run -it nodesource/node:wheezy node -v`
v0.10.32
```
### Step 2.
Use this version as the tag for your new image, for example:
```text
$ docker pull nodesource/wheezy:0.10.32
```
### (optional) Step 3.
If you would like to determine the differences in packages between the images, you can run:
```text
$ docker run nodesource/node:wheezy dpkg --get-selections > old.log && docker run nodesource/wheezy:0.10.32 dpkg --get-selections > new.log && diff old.log new.log && rm old.log new.log
```
You should find that they are all near to identical.
# docker-node (legacy)
Dockerfiles for building Debian and Ubuntu images with the [NodeSource Node.js](https://github.com/nodesource/distributions) binaries baked in. Automated via Docker Hub: .
[](https://registry.hub.docker.com/u/nodesource/node)
# Structure
We have a folder setup for each distrubtion of linux, inside each folder you will find a collection of supported versions of that distribution. All builds are automated.
## Ubuntu-based images
* **Ubuntu 12.04 LTS** (Precise Pangolin) - `docker pull nodesource/node:precise`
* **Ubuntu 14.04 LTS** (Trusty Tahr) - `docker pull nodesource/node:trusty`
## Debian-based images
* **Debian 7 / stable** (wheezy) - `docker pull nodesource/node:wheezy`
* **Debian testing** (jessie) - `docker pull nodesource/node:jessie`
* **Debian unstable** (sid) - `docker pull nodesource/node:sid`
## RPM-Based images
* **Fedora 20** (Heisenbug) - `docker pull nodesource/node:heisenbug`
* **CentOS 5** - `docker pull nodesource/node:centos5`
* **CentOS 6** - `docker pull nodesource/node:centos6`
* **CentOS 7** - `docker pull nodesource/node:centos7`
Following after the Node.js image maintained by the Docker team, _nodesource/node:latest_ is an alias to _nodesource/node:jessie_.
`docker pull nodesource/node:latest`
*NOTE*
`docker pull nodesource/node` will download _all_ tags for the docker image, which is roughly 8GB. We urge you to pick a tag when downloading. Example: `docker pull nodesource/node:jessie`