diff options
author | Ryan Skoblenick <[email protected]> | 2018-03-18 16:54:49 -0400 |
---|---|---|
committer | Anthony Fok <[email protected]> | 2018-06-14 15:47:04 -0600 |
commit | 8531ec7ca36fd35a57fba06bbb06a65c94dfd3ed (patch) | |
tree | 9a57c6b8e570377e66def24d8e113ea280154d28 /.dockerignore | |
parent | 9f27091e1067875e2577c331acc60adaef5bb234 (diff) | |
download | hugo-8531ec7ca36fd35a57fba06bbb06a65c94dfd3ed.tar.gz hugo-8531ec7ca36fd35a57fba06bbb06a65c94dfd3ed.zip |
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
Diffstat (limited to '.dockerignore')
-rw-r--r-- | .dockerignore | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..3342288b4 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,8 @@ +*.md +*.log +*.txt +.git +.github +.circleci +docs +examples |