From f2b4876b5cfbcb6e92ee2397d65131fbfb77d37a Mon Sep 17 00:00:00 2001 From: Erlend Klakegg Bergheim Date: Thu, 28 Jun 2018 15:36:11 +0200 Subject: [PATCH] Version 0.42.2 --- README.md | 25 ++++++++++++++----------- alpine/Dockerfile-alpine | 2 +- busybox/Dockerfile-busybox | 2 +- tags.md | 9 ++++++--- 4 files changed, 22 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 1b9dd2dc..e74d22ae 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ These images sets `destination` during build and `bind` when started as server, ## Available tags Default minimal image based upon [Busybox](https://hub.docker.com/r/_/busybox/): -* Hugo 0.42.1: `0.42.1-busybox`, `busybox`, `0.42.1`, `latest`, `0.42.1-busybox-onbuild`, `0.42.1-onbuild`, `busybox-onbuild`, `onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.1/busybox/Dockerfile-busybox)) +* Hugo 0.42.2: `0.42.2-busybox`, `busybox`, `0.42.2`, `latest`, `0.42.2-busybox-onbuild`, `0.42.2-onbuild`, `busybox-onbuild`, `onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.2/busybox/Dockerfile-busybox)) +* Hugo 0.42.1: `0.42.1-busybox`, `0.42.1`, `0.42.1-busybox-onbuild`, `0.42.1-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.1/busybox/Dockerfile-busybox)) * Hugo 0.42: `0.42-busybox`, `0.42`, `0.42-busybox-onbuild`, `0.42-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42/busybox/Dockerfile-busybox)) * Hugo 0.41: `0.41-busybox`, `0.41`, `0.41-busybox-onbuild`, `0.41-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.41/busybox/Dockerfile-busybox)) * Hugo 0.40.3: `0.40.3-busybox`, `0.40.3` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.40.3/Dockerfile)) @@ -18,7 +19,8 @@ Default minimal image based upon [Busybox](https://hub.docker.com/r/_/busybox/): * Hugo 0.40: `0.40-busybox`, `0.40` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.40/Dockerfile)) Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/): -* Hugo 0.42.1: `0.42.1-alpine`, `alpine`, `0.42.1-alpine-onbuild`, `alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.1/alpine/Dockerfile-alpine)) +* Hugo 0.42.2: `0.42.2-alpine`, `alpine`, `0.42.2-alpine-onbuild`, `alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.2/alpine/Dockerfile-alpine)) +* Hugo 0.42.1: `0.42.1-alpine`, `0.42.1-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.1/alpine/Dockerfile-alpine)) * Hugo 0.42: `0.42-alpine`, `0.42-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42/alpine/Dockerfile-alpine)) * Hugo 0.41: `0.41-alpine`, `0.41-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.41/alpine/Dockerfile-alpine)) * Hugo 0.40.3: `0.40.3-alpine` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.40.3/Dockerfile-alpine)) @@ -27,7 +29,8 @@ Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/): * Hugo 0.40: `0.40-alpine` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.40/Dockerfile-alpine)) Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/) with [Asciidoctor](http://asciidoctor.org/) installed: -* Hugo 0.42.1: `0.42.1-asciidoctor`, `asciidoctor`, `0.42.1-asciidoctor-onbuild`, `asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.1/alpine/Dockerfile-asciidoctor)) +* Hugo 0.42.2: `0.42.2-asciidoctor`, `asciidoctor`, `0.42.2-asciidoctor-onbuild`, `asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.2/alpine/Dockerfile-asciidoctor)) +* Hugo 0.42.1: `0.42.1-asciidoctor`, `0.42.1-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.1/alpine/Dockerfile-asciidoctor)) * Hugo 0.42: `0.42-asciidoctor`, `0.42-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42/alpine/Dockerfile-asciidoctor)) * Hugo 0.41: `0.41-asciidoctor`, `0.41-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.41/alpine/Dockerfile-asciidoctor)) * Hugo 0.40.3: `0.40.3-asciidoctor` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.40.3/Dockerfile-asciidoctor)) @@ -51,13 +54,13 @@ The good practice of having a separate output folder is part of the image. Normal build: ``` -docker run --rm -it -v $(pwd):/src -v $(pwd)/output:/target klakegg/hugo:0.42.1 +docker run --rm -it -v $(pwd):/src -v $(pwd)/output:/target klakegg/hugo:0.42.2 ``` Run server: ``` -docker run --rm -it -v $(pwd):/src -p 1313:1313 klakegg/hugo:0.42.1 server +docker run --rm -it -v $(pwd):/src -p 1313:1313 klakegg/hugo:0.42.2 server ``` @@ -67,7 +70,7 @@ Normal build: ```yaml build: - image: klakegg/hugo:0.42.1 + image: klakegg/hugo:0.42.2 volumes: - .:/src - ./output:/target @@ -77,7 +80,7 @@ Run server: ```yaml server: - image: klakegg/hugo:0.42.1 + image: klakegg/hugo:0.42.2 command: server volumes: - .:/src @@ -94,7 +97,7 @@ Initiating the shell will trigger installation of bash and configuration of auto To get into a shell for your site: ``` -docker run --rm -it -v $(pwd):/src klakegg/hugo:0.42.1-alpine shell +docker run --rm -it -v $(pwd):/src klakegg/hugo:0.42.2-alpine shell ``` @@ -105,7 +108,7 @@ The onbuild images adds content of the folder of your Dockerfile into `/src` and Example Dockerfile for your project where the site is made into an nginx image (Docker 17.05-ce or newer): ```Dockerfile -FROM klakegg/hugo:0.42.1-onbuild AS hugo +FROM klakegg/hugo:0.42.2-onbuild AS hugo FROM nginx COPY --from=hugo /onbuild /usr/share/nginx/html @@ -119,14 +122,14 @@ Those wanting to override entrypoint in the image may easily do so. On command line using `--entrypoint`: ``` -docker run --rm -it -v $(pwd):/src -v $(pwd)/output:/src/public --entrypoint hugo klakegg/hugo:0.42.1 +docker run --rm -it -v $(pwd):/src -v $(pwd)/output:/src/public --entrypoint hugo klakegg/hugo:0.42.2 ``` In docker-compose using `entrypoint`: ```yaml build: - image: klakegg/hugo:0.42.1 + image: klakegg/hugo:0.42.2 entrypoint: hugo volumes: - .:/src diff --git a/alpine/Dockerfile-alpine b/alpine/Dockerfile-alpine index 32cea900..c00a5244 100644 --- a/alpine/Dockerfile-alpine +++ b/alpine/Dockerfile-alpine @@ -1,6 +1,6 @@ FROM busybox:1.28 AS fetch -ARG VERSION=0.42.1 +ARG VERSION=0.42.2 ADD https://github.com/gohugoio/hugo/releases/download/v${VERSION}/hugo_${VERSION}_Linux-64bit.tar.gz /hugo.tar.gz RUN tar -zxvf hugo.tar.gz diff --git a/busybox/Dockerfile-busybox b/busybox/Dockerfile-busybox index 9e79d315..9d9a5a7a 100644 --- a/busybox/Dockerfile-busybox +++ b/busybox/Dockerfile-busybox @@ -1,6 +1,6 @@ FROM busybox:1.28 AS fetch -ARG VERSION=0.42.1 +ARG VERSION=0.42.2 ADD https://github.com/gohugoio/hugo/releases/download/v${VERSION}/hugo_${VERSION}_Linux-64bit.tar.gz /hugo.tar.gz RUN tar -zxvf hugo.tar.gz diff --git a/tags.md b/tags.md index dc864609..0b54ad83 100644 --- a/tags.md +++ b/tags.md @@ -1,7 +1,8 @@ # All tags Default minimal image based upon [Busybox](https://hub.docker.com/r/_/busybox/): -* Hugo 0.42.1: `0.42.1-busybox`, `busybox`, `0.42.1`, `latest`, `0.42.1-busybox-onbuild`, `0.42.1-onbuild`, `busybox-onbuild`, `onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.1/busybox/Dockerfile-busybox)) +* Hugo 0.42.2: `0.42.2-busybox`, `busybox`, `0.42.2`, `latest`, `0.42.2-busybox-onbuild`, `0.42.2-onbuild`, `busybox-onbuild`, `onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.2/busybox/Dockerfile-busybox)) +* Hugo 0.42.1: `0.42.1-busybox`, `0.42.1`, `0.42.1-busybox-onbuild`, `0.42.1-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.1/busybox/Dockerfile-busybox)) * Hugo 0.42: `0.42-busybox`, `0.42`, `0.42-busybox-onbuild`, `0.42-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42/busybox/Dockerfile-busybox)) * Hugo 0.41: `0.41-busybox`, `0.41`, `0.41-busybox-onbuild`, `0.41-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.41/busybox/Dockerfile-busybox)) * Hugo 0.40.3: `0.40.3-busybox`, `0.40.3` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.40.3/Dockerfile)) @@ -20,7 +21,8 @@ Default minimal image based upon [Busybox](https://hub.docker.com/r/_/busybox/): * Hugo 0.34: `0.34-busybox`, `0.34` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.34/Dockerfile)) Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/): -* Hugo 0.42.1: `0.42.1-alpine`, `alpine`, `0.42.1-alpine-onbuild`, `alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.1/alpine/Dockerfile-alpine)) +* Hugo 0.42.2: `0.42.2-alpine`, `alpine`, `0.42.2-alpine-onbuild`, `alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.2/alpine/Dockerfile-alpine)) +* Hugo 0.42.1: `0.42.1-alpine`, `0.42.1-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.1/alpine/Dockerfile-alpine)) * Hugo 0.42: `0.42-alpine`, `0.42-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42/alpine/Dockerfile-alpine)) * Hugo 0.41: `0.41-alpine`, `0.41-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.41/alpine/Dockerfile-alpine)) * Hugo 0.40.3: `0.40.3-alpine` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.40.3/Dockerfile-alpine)) @@ -39,7 +41,8 @@ Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/): * Hugo 0.34: `0.34-alpine` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.34/Dockerfile-alpine)) Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/) with [Asciidoctor](http://asciidoctor.org/) installed: -* Hugo 0.42.1: `0.42.1-asciidoctor`, `asciidoctor`, `0.42.1-asciidoctor-onbuild`, `asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.1/alpine/Dockerfile-asciidoctor)) +* Hugo 0.42.2: `0.42.2-asciidoctor`, `asciidoctor`, `0.42.2-asciidoctor-onbuild`, `asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.2/alpine/Dockerfile-asciidoctor)) +* Hugo 0.42.1: `0.42.1-asciidoctor`, `0.42.1-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42.1/alpine/Dockerfile-asciidoctor)) * Hugo 0.42: `0.42-asciidoctor`, `0.42-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.42/alpine/Dockerfile-asciidoctor)) * Hugo 0.41: `0.41-asciidoctor`, `0.41-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.41/alpine/Dockerfile-asciidoctor)) * Hugo 0.40.3: `0.40.3-asciidoctor` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.40.3/Dockerfile-asciidoctor))