projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78b26d5
)
docker: Update to Go 1.15 and Alpine 3.12
author
Daniel Sutton
<daniel@ducksecops.uk>
Mon, 12 Oct 2020 20:51:08 +0000
(21:51 +0100)
committer
GitHub
<noreply@github.com>
Mon, 12 Oct 2020 20:51:08 +0000
(22:51 +0200)
Dockerfile
patch
|
blob
|
history
diff --git
a/Dockerfile
b/Dockerfile
index 0689f3c0e0797a4b37b0d7f2f10d726038adecd1..528c12e3b0349a207c5007c4bcaae00cc9787b5f 100755
(executable)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-2,7
+2,7
@@
# Twitter: https://twitter.com/gohugoio
# Website: https://gohugo.io/
-FROM golang:1.1
3
-alpine AS build
+FROM golang:1.1
5
-alpine AS build
# Optionally set HUGO_BUILD_TAGS to "extended" when building like so:
# docker build --build-arg HUGO_BUILD_TAGS=extended .
@@
-26,7
+26,7
@@
RUN mage hugo && mage install
# ---
-FROM alpine:3.1
1
+FROM alpine:3.1
2
COPY --from=build /go/bin/hugo /usr/bin/hugo