Skip to content

Commit

Permalink
Version 0.55.5
Browse files Browse the repository at this point in the history
  • Loading branch information
klakegg committed May 2, 2019
1 parent f4562e8 commit dde1f0b
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 24 deletions.
4 changes: 2 additions & 2 deletions Dockerfile-base
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM busybox:1.28 AS fetch-standard

ARG VERSION=0.55.4
ARG VERSION=0.55.5

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
Expand All @@ -10,7 +10,7 @@ RUN ["/hugo", "version"]

FROM busybox:1.28 AS fetch-extended

ARG VERSION=0.55.4
ARG VERSION=0.55.5

ADD https://github.com/gohugoio/hugo/releases/download/v${VERSION}/hugo_extended_${VERSION}_Linux-64bit.tar.gz /hugo.tar.gz
RUN tar -zxvf hugo.tar.gz
Expand Down
36 changes: 21 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,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.55.4: `0.55.4-busybox`, `busybox`, `0.55.4`, `latest`, `0.55.4-busybox-onbuild`, `0.55.4-onbuild`, `busybox-onbuild`, `onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.4/dist/busybox/Dockerfile-busybox))
* Hugo 0.55.5: `0.55.5-busybox`, `busybox`, `0.55.5`, `latest`, `0.55.5-busybox-onbuild`, `0.55.5-onbuild`, `busybox-onbuild`, `onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.5/dist/busybox/Dockerfile-busybox))
* Hugo 0.55.4: `0.55.4-busybox`, `0.55.4`, `0.55.4-busybox-onbuild`, `0.55.4-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.4/dist/busybox/Dockerfile-busybox))
* Hugo 0.55.3: `0.55.3-busybox`, `0.55.3`, `0.55.3-busybox-onbuild`, `0.55.3-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.3/dist/busybox/Dockerfile-busybox))
* Hugo 0.55.2: `0.55.2-busybox`, `0.55.2`, `0.55.2-busybox-onbuild`, `0.55.2-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.2/dist/busybox/Dockerfile-busybox))
* Hugo 0.55.1: `0.55.1-busybox`, `0.55.1`, `0.55.1-busybox-onbuild`, `0.55.1-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.1/dist/busybox/Dockerfile-busybox))
Expand All @@ -20,7 +21,8 @@ Default minimal image based upon [Busybox](https://hub.docker.com/r/_/busybox/):
* Hugo 0.53: `0.53-busybox`, `0.53`, `0.53-busybox-onbuild`, `0.53-onbuild`, ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.53/dist/busybox/Dockerfile-busybox))

Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/):
* Hugo 0.55.4: `0.55.4-alpine`, `alpine`, `0.55.4-alpine-onbuild`, `alpine-onbuild`, `0.55.4-ext-alpine`, `ext-alpine`, `0.55.4-ext-alpine-onbuild`, `ext-alpine-onbuild`, `0.55.4-ext-nodejs`, `ext-nodejs` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.4/dist/alpine/Dockerfile-alpine))
* Hugo 0.55.5: `0.55.5-alpine`, `alpine`, `0.55.5-alpine-onbuild`, `alpine-onbuild`, `0.55.5-ext-alpine`, `ext-alpine`, `0.55.5-ext-alpine-onbuild`, `ext-alpine-onbuild`, `0.55.5-ext-nodejs`, `ext-nodejs` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.5/dist/alpine/Dockerfile-alpine))
* Hugo 0.55.4: `0.55.4-alpine`, `0.55.4-alpine-onbuild`, `0.55.4-ext-alpine`, `0.55.4-ext-alpine-onbuild`, `0.55.4-ext-nodejs` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.4/dist/alpine/Dockerfile-alpine))
* Hugo 0.55.3: `0.55.3-alpine`, `0.55.3-alpine-onbuild`, `0.55.3-ext-alpine`, `0.55.3-ext-alpine-onbuild`, `0.55.3-ext-nodejs` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.3/dist/alpine/Dockerfile-alpine))
* Hugo 0.55.2: `0.55.2-alpine`, `0.55.2-alpine-onbuild`, `0.55.2-ext-alpine`, `0.55.2-ext-alpine-onbuild`, `0.55.2-ext-nodejs` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.2/dist/alpine/Dockerfile-alpine))
* Hugo 0.55.1: `0.55.1-alpine`, `0.55.1-alpine-onbuild`, `0.55.1-ext-alpine`, `0.55.1-ext-alpine-onbuild`, `0.55.1-ext-nodejs` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.1/dist/alpine/Dockerfile-alpine))
Expand All @@ -29,7 +31,8 @@ Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/):
* Hugo 0.53: `0.53-alpine`, `0.53-alpine-onbuild`, `0.53-ext-alpine`, `0.53-ext-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.53/dist/alpine/Dockerfile-alpine))

Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/) with [Asciidoctor](http://asciidoctor.org/) installed:
* Hugo 0.55.4: `0.55.4-asciidoctor`, `asciidoctor`, `0.55.4-asciidoctor-onbuild`, `asciidoctor-onbuild`, `0.55.4-ext-asciidoctor`, `ext-asciidoctor`, `0.55.4-ext-asciidoctor-onbuild`, `ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.4/dist/alpine/Dockerfile-asciidoctor))
* Hugo 0.55.5: `0.55.5-asciidoctor`, `asciidoctor`, `0.55.5-asciidoctor-onbuild`, `asciidoctor-onbuild`, `0.55.5-ext-asciidoctor`, `ext-asciidoctor`, `0.55.5-ext-asciidoctor-onbuild`, `ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.5/dist/alpine/Dockerfile-asciidoctor))
* Hugo 0.55.4: `0.55.4-asciidoctor`, `0.55.4-asciidoctor-onbuild`, `0.55.4-ext-asciidoctor`, `0.55.4-ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.4/dist/alpine/Dockerfile-asciidoctor))
* Hugo 0.55.3: `0.55.3-asciidoctor`, `0.55.3-asciidoctor-onbuild`, `0.55.3-ext-asciidoctor`, `0.55.3-ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.3/dist/alpine/Dockerfile-asciidoctor))
* Hugo 0.55.2: `0.55.2-asciidoctor`, `0.55.2-asciidoctor-onbuild`, `0.55.2-ext-asciidoctor`, `0.55.2-ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.2/dist/alpine/Dockerfile-asciidoctor))
* Hugo 0.55.1: `0.55.1-asciidoctor`, `0.55.1-asciidoctor-onbuild`, `0.55.1-ext-asciidoctor`, `0.55.1-ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.1/dist/alpine/Dockerfile-asciidoctor))
Expand All @@ -38,7 +41,8 @@ Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/) with [Asci
* Hugo 0.53: `0.53-asciidoctor`, `0.53-asciidoctor-onbuild`, `0.53-ext-asciidoctor`, `0.53-ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.53/dist/alpine/Dockerfile-asciidoctor))

Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/) with [Pandoc](https://pandoc.org/) installed:
* Hugo 0.55.4: `0.55.4-pandoc`, `pandoc`, `0.55.4-pandoc-onbuild`, `pandoc-onbuild`, `0.55.4-ext-pandoc`, `ext-pandoc`, `0.55.4-ext-pandoc-onbuild`, `ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.4/dist/alpine/Dockerfile-pandoc))
* Hugo 0.55.5: `0.55.5-pandoc`, `pandoc`, `0.55.5-pandoc-onbuild`, `pandoc-onbuild`, `0.55.5-ext-pandoc`, `ext-pandoc`, `0.55.5-ext-pandoc-onbuild`, `ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.5/dist/alpine/Dockerfile-pandoc))
* Hugo 0.55.4: `0.55.4-pandoc`, `0.55.4-pandoc-onbuild`, `0.55.4-ext-pandoc`, `0.55.4-ext-pandoc-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.4/dist/alpine/Dockerfile-pandoc))
* Hugo 0.55.3: `0.55.3-pandoc`, `0.55.3-pandoc-onbuild`, `0.55.3-ext-pandoc`, `0.55.3-ext-pandoc-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.3/dist/alpine/Dockerfile-pandoc))
* Hugo 0.55.2: `0.55.2-pandoc`, `0.55.2-pandoc-onbuild`, `0.55.2-ext-pandoc`, `0.55.2-ext-pandoc-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.2/dist/alpine/Dockerfile-pandoc))
* Hugo 0.55.1: `0.55.1-pandoc`, `0.55.1-pandoc-onbuild`, `0.55.1-ext-pandoc`, `0.55.1-ext-pandoc-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.1/dist/alpine/Dockerfile-pandoc))
Expand All @@ -47,7 +51,8 @@ Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/) with [Pand
* Hugo 0.53: `0.53-pandoc`, `0.53-pandoc-onbuild`, `0.53-ext-pandoc`, `0.53-ext-pandoc-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.53/dist/alpine/Dockerfile-pandoc))

Image based upon [Debian](https://hub.docker.com/r/_/debian/):
* Hugo 0.55.4: `0.55.4-debian`, `debian`, `0.55.4-debian-onbuild`, `debian-onbuild`, `0.55.4-ext`, `ext`, `latest-ext`, `0.55.4-ext-debian`, `ext-debian`, `0.55.4-ext-debian-onbuild`, `ext-debian-onbuild`, `0.55.4-ext-onbuild`, `ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.4/dist/debian/Dockerfile-debian))
* Hugo 0.55.5: `0.55.5-debian`, `debian`, `0.55.5-debian-onbuild`, `debian-onbuild`, `0.55.5-ext`, `ext`, `latest-ext`, `0.55.5-ext-debian`, `ext-debian`, `0.55.5-ext-debian-onbuild`, `ext-debian-onbuild`, `0.55.5-ext-onbuild`, `ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.5/dist/debian/Dockerfile-debian))
* Hugo 0.55.4: `0.55.4-debian`, `0.55.4-debian-onbuild`, `0.55.4-ext`, `0.55.4-ext-debian`, `0.55.4-ext-debian-onbuild`, `0.55.4-ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.4/dist/debian/Dockerfile-debian))
* Hugo 0.55.3: `0.55.3-debian`, `0.55.3-debian-onbuild`, `0.55.3-ext`, `0.55.3-ext-debian`, `0.55.3-ext-debian-onbuild`, `0.55.3-ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.3/dist/debian/Dockerfile-debian))
* Hugo 0.55.2: `0.55.2-debian`, `0.55.2-debian-onbuild`, `0.55.2-ext`, `0.55.2-ext-debian`, `0.55.2-ext-debian-onbuild`, `0.55.2-ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.2/dist/debian/Dockerfile-debian))
* Hugo 0.55.1: `0.55.1-debian`, `0.55.1-debian-onbuild`, `0.55.1-ext`, `0.55.1-ext-debian`, `0.55.1-ext-debian-onbuild`, `0.55.1-ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.1/dist/debian/Dockerfile-debian))
Expand All @@ -56,7 +61,8 @@ Image based upon [Debian](https://hub.docker.com/r/_/debian/):
* Hugo 0.53: `0.53-debian`, `0.53-debian-onbuild`, `0.53-ext`, `0.53-ext-debian`, `0.53-ext-debian-onbuild`, `0.53-ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.53/dist/debian/Dockerfile-debian)

Image based upon [Ubuntu](https://hub.docker.com/r/_/ubuntu/):
* Hugo 0.55.4: `0.55.4-ubuntu`, `ubuntu`, `0.55.4-ubuntu-onbuild`, `ubuntu-onbuild`, `0.55.4-ext-ubuntu`, `ext-ubuntu`, `0.55.4-ext-ubuntu-onbuild`, `ext-ubuntu-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.4/dist/ubuntu/Dockerfile-ubuntu))
* Hugo 0.55.5: `0.55.5-ubuntu`, `ubuntu`, `0.55.5-ubuntu-onbuild`, `ubuntu-onbuild`, `0.55.5-ext-ubuntu`, `ext-ubuntu`, `0.55.5-ext-ubuntu-onbuild`, `ext-ubuntu-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.5/dist/ubuntu/Dockerfile-ubuntu))
* Hugo 0.55.4: `0.55.4-ubuntu`, `0.55.4-ubuntu-onbuild`, `0.55.4-ext-ubuntu`, `0.55.4-ext-ubuntu-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.4/dist/ubuntu/Dockerfile-ubuntu))
* Hugo 0.55.3: `0.55.3-ubuntu`, `0.55.3-ubuntu-onbuild`, `0.55.3-ext-ubuntu`, `0.55.3-ext-ubuntu-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.3/dist/ubuntu/Dockerfile-ubuntu))
* Hugo 0.55.2: `0.55.2-ubuntu`, `0.55.2-ubuntu-onbuild`, `0.55.2-ext-ubuntu`, `0.55.2-ext-ubuntu-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.2/dist/ubuntu/Dockerfile-ubuntu))
* Hugo 0.55.1: `0.55.1-ubuntu`, `0.55.1-ubuntu-onbuild`, `0.55.1-ext-ubuntu`, `0.55.1-ext-ubuntu-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.55.1/dist/ubuntu/Dockerfile-ubuntu))
Expand All @@ -80,13 +86,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.55.4
docker run --rm -it -v $(pwd):/src -v $(pwd)/output:/target klakegg/hugo:0.55.5
```

Run server:

```
docker run --rm -it -v $(pwd):/src -p 1313:1313 klakegg/hugo:0.55.4 server
docker run --rm -it -v $(pwd):/src -p 1313:1313 klakegg/hugo:0.55.5 server
```


Expand All @@ -96,7 +102,7 @@ Normal build:

```yaml
build:
image: klakegg/hugo:0.55.4
image: klakegg/hugo:0.55.5
volumes:
- .:/src
- ./output:/target
Expand All @@ -106,7 +112,7 @@ Run server:
```yaml
server:
image: klakegg/hugo:0.55.4
image: klakegg/hugo:0.55.5
command: server
volumes:
- .:/src
Expand All @@ -125,7 +131,7 @@ When Alpine images are used is bash installed as part of initiation to minimize
To get into a shell for your site:
```
docker run --rm -it -v $(pwd):/src klakegg/hugo:0.55.4-alpine shell
docker run --rm -it -v $(pwd):/src klakegg/hugo:0.55.5-alpine shell
```


Expand All @@ -150,7 +156,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.55.4-onbuild AS hugo
FROM klakegg/hugo:0.55.5-onbuild AS hugo

FROM nginx
COPY --from=hugo /onbuild /usr/share/nginx/html
Expand All @@ -168,7 +174,7 @@ The normal `pandoc` executable is renamed to `pandoc-default` to allow for later
Example of explicit setting `pandoc` alias:

```
docker run --rm -it -v $(pwd):/src -v $(pwd)/output:/src/public -e HUGO_PANDOC="pandoc-default --strip-empty-paragraphs" klakegg/hugo:0.55.4-pandoc
docker run --rm -it -v $(pwd):/src -v $(pwd)/output:/src/public -e HUGO_PANDOC="pandoc-default --strip-empty-paragraphs" klakegg/hugo:0.55.5-pandoc
```


Expand All @@ -179,14 +185,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.55.4
docker run --rm -it -v $(pwd):/src -v $(pwd)/output:/src/public --entrypoint hugo klakegg/hugo:0.55.5
```

In docker-compose using `entrypoint`:

```yaml
build:
image: klakegg/hugo:0.55.4
image: klakegg/hugo:0.55.5
entrypoint: hugo
volumes:
- .:/src
Expand Down
Loading

0 comments on commit dde1f0b

Please sign in to comment.