Update Dockerfile to a multi-stage build

- Hugo container is based on SCRATCH to further reduce the footprint
  and the vulnerability surface
- Update Alpine image to 3.7 in the build container
- Update Go Lang to 1.10 in the build container
- Add .dockerignore file per the Docker best practices

Closes #4154, #4155, #4157
This commit is contained in:
Ryan Skoblenick
2018-03-18 16:54:49 -04:00
committed by Anthony Fok
parent 9f27091e10
commit 8531ec7ca3
2 changed files with 27 additions and 15 deletions

8
.dockerignore Normal file
View File

@@ -0,0 +1,8 @@
*.md
*.log
*.txt
.git
.github
.circleci
docs
examples