File tree Expand file tree Collapse file tree 1 file changed +15
-18
lines changed
Expand file tree Collapse file tree 1 file changed +15
-18
lines changed Original file line number Diff line number Diff line change 1010
1111# Node.js 14 based on Ubuntu 20.04.
1212
13- ---
14-
15- ### Pull from Docker Hub
13+ ### Pull, build or run this image
14+ ``` bash
15+ # pull the most recent tag / release
16+ docker pull beevelop/nodejs:v2021.06.1
1617
17- ```
18- docker pull beevelop/nodejs:latest
19- ```
18+ # or run the image interactively
19+ docker run --rm --name beevelop -it beevelop/nodejs:v2021.06.1 bash
2020
21- ### Build from GitHub
22-
23- ```
21+ # or build the image from GitHub
2422docker build -t beevelop/nodejs github.com/beevelop/docker-nodejs
2523```
2624
27- ### Run image
28-
29- ```
30- docker run -it beevelop/nodejs bash
25+ ### Or use as base image
26+ ``` Dockerfile
27+ FROM beevelop/nodejs:v2021.06.1
3128```
3229
33- ### Use as base image
30+ ---
3431
35- ``` Dockerfile
36- FROM beevelop/nodejs:latest
37- ```
32+ ![ Beevelop's Docker Image Hierarchy] ( https://gist.githubusercontent.com/beevelop/b0cddab7209a683c77560d06ff00bc8e/raw/15429ee1d02e2c4dc019b760ca8c7ceff5911b82/hierarchy.png )
3833
3934---
4035
41- ![ One does not simply use latest] ( https://i.imgflip.com/1fgwxr.jpg )
36+ ### Use tags where possible, because...
37+
38+ ![ One does not simply use latest] ( https://i.imgflip.com/1fgwxr.jpg )
You can’t perform that action at this time.
0 commit comments