From f1ad610b2514bea7a58379f9f318070ee950aa83 Mon Sep 17 00:00:00 2001 From: Maik Hummel Date: Fri, 11 Jun 2021 14:20:06 +0200 Subject: [PATCH] Update README (#306) --- README.md | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 99e378d..395ab6a 100644 --- a/README.md +++ b/README.md @@ -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) \ No newline at end of file