Skip to content

Commit

Permalink
Update README (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
beevelop authored Jun 11, 2021
1 parent f9b51c7 commit f1ad610
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,29 @@

# Node.js 14 based on Ubuntu 20.04.

---

### Pull from Docker Hub
### Pull, build or run this image
```bash
# pull the most recent tag / release
docker pull beevelop/nodejs:v2021.06.1

```
docker pull beevelop/nodejs:latest
```
# or run the image interactively
docker run --rm --name beevelop -it beevelop/nodejs:v2021.06.1 bash

### Build from GitHub

```
# or build the image from GitHub
docker build -t beevelop/nodejs github.com/beevelop/docker-nodejs
```

### Run image

```
docker run -it beevelop/nodejs bash
### Or use as base image
```Dockerfile
FROM beevelop/nodejs:v2021.06.1
```

### Use as base image
---

```Dockerfile
FROM beevelop/nodejs:latest
```
![Beevelop's Docker Image Hierarchy](https://gist.githubusercontent.com/beevelop/b0cddab7209a683c77560d06ff00bc8e/raw/15429ee1d02e2c4dc019b760ca8c7ceff5911b82/hierarchy.png)

---

![One does not simply use latest](https://i.imgflip.com/1fgwxr.jpg)
### Use tags where possible, because...

![One does not simply use latest](https://i.imgflip.com/1fgwxr.jpg)

0 comments on commit f1ad610

Please sign in to comment.