diff options
author | Remco de Man <[email protected]> | 2019-12-30 12:18:15 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2019-12-30 13:56:58 +0100 |
commit | aa4ccb8a1e9b8aa17397acf34049a2aa16b0b6cb (patch) | |
tree | d840494e5664b288012092107150419eab04caaf /Dockerfile | |
parent | 5509954c7e8b0ce8d5ea903b0ab639ea14b69acb (diff) | |
download | hugo-aa4ccb8a1e9b8aa17397acf34049a2aa16b0b6cb.tar.gz hugo-aa4ccb8a1e9b8aa17397acf34049a2aa16b0b6cb.zip |
Update alpine base image in Dockerfile to 3.11
When building the extended version of Hugo using the Dockerfile and
`--build-arg HUGO_BUILD_TAGS=extended`, the obtained Docker container is
broken, because the source is build under alpine 3.11 and the compiled
binary is copied to an image based on alpine 3.10. This problem was most
likely introduced due to an update of the golang base image.
This commit changes the base image from alpine:3.10 to alpine:3.11,
fixing extended version builds.
Diffstat (limited to 'Dockerfile')
-rwxr-xr-x | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 02a150992..3ec305f7b 100755 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ RUN mage hugo && mage install # --- -FROM alpine:3.10 +FROM alpine:3.11 COPY --from=build /go/bin/hugo /usr/bin/hugo |