diff options
author | Jake Jarvis <jake@jarv.is> | 2019-10-09 11:27:08 -0400 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-10-31 09:53:49 +0100 |
commit | ed2682325aeb8fd1c8139077d14a5f6906757a4e (patch) | |
tree | 80e778a02444522db376b5110812d87c35bea8ab /hugofs | |
parent | 66fe68ffc98974936e157b18cf6bd9266ee081a4 (diff) |
Dockerfile: Switch to mage builds, various optimizations
- Use Alpine for both stages for consistency.
- Switch to mage from go install as dictated in the latest docs.
- Easy switch to building Hugo Extended by directly setting HUGO_BUILD_TAGS flag at image build time: `docker build --build-arg HUGO_BUILD_TAGS=extended .`
- Update to Go 1.13 and Alpine 3.10.
- The only possibly breaking change: Moved the `hugo` binary in the final stage from /hugo to /usr/bin/hugo so one can simply run `hugo` without having to search around for its location.
Diffstat (limited to 'hugofs')
0 files changed, 0 insertions, 0 deletions