[Dockerfile] Update dated base image from Ubuntu 16.04 to 18.04

Peter Dave Hello 2021-08-25 15:42:17 +08:00
parent 62d45af17e
commit 678a827978
2 changed files with 2 additions and 3 deletions

View File

@ -6,7 +6,7 @@
# Please note that it'll use about 1.2 GB disk space and about 15 minutes to # Please note that it'll use about 1.2 GB disk space and about 15 minutes to
# build this image, it depends on your hardware. # build this image, it depends on your hardware.
FROM ubuntu:16.04 FROM ubuntu:18.04
LABEL maintainer="Peter Dave Hello <hsu@peterdavehello.org>" LABEL maintainer="Peter Dave Hello <hsu@peterdavehello.org>"
LABEL name="nvm-dev-env" LABEL name="nvm-dev-env"
LABEL version="latest" LABEL version="latest"
@ -54,7 +54,6 @@ RUN apt update && \
curl \ curl \
git \ git \
jq \ jq \
realpath \
zsh \ zsh \
ksh \ ksh \
gcc-4.8 \ gcc-4.8 \

View File

@ -788,7 +788,7 @@ export NVM_DIR="$HOME/.nvm"
## Docker For Development Environment ## Docker For Development Environment
To make the development and testing work easier, we have a Dockerfile for development usage, which is based on Ubuntu 16.04 base image, prepared with essential and useful tools for `nvm` development, to build the docker image of the environment, run the docker command at the root of `nvm` repository: To make the development and testing work easier, we have a Dockerfile for development usage, which is based on Ubuntu 18.04 base image, prepared with essential and useful tools for `nvm` development, to build the docker image of the environment, run the docker command at the root of `nvm` repository:
```sh ```sh
$ docker build -t nvm-dev . $ docker build -t nvm-dev .