aboutsummaryrefslogtreecommitdiffhomepage
path: root/.dockerignore
diff options
context:
space:
mode:
authorRyan Skoblenick <[email protected]>2018-03-18 16:54:49 -0400
committerAnthony Fok <[email protected]>2018-06-14 15:47:04 -0600
commit8531ec7ca36fd35a57fba06bbb06a65c94dfd3ed (patch)
tree9a57c6b8e570377e66def24d8e113ea280154d28 /.dockerignore
parent9f27091e1067875e2577c331acc60adaef5bb234 (diff)
downloadhugo-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--.dockerignore8
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