Skip to content

Commit

Permalink
Version 0.49.
Browse files Browse the repository at this point in the history
  • Loading branch information
klakegg committed Oct 2, 2018
1 parent e35c7f3 commit a65bb1f
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 41 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.48
ARG VERSION=0.49

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.48
ARG VERSION=0.49

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
66 changes: 33 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,40 +11,40 @@ 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.46: `0.46-busybox`, `busybox`, `0.46`, `latest`, `0.46-busybox-onbuild`, `0.46-onbuild`, `busybox-onbuild`, `onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.46/dist/busybox/Dockerfile-busybox))
* Hugo 0.45.1: `0.45.1-busybox`, `0.45.1`, `0.45.1-busybox-onbuild`, `0.45.1-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.45.1/dist/busybox/Dockerfile-busybox))
* Hugo 0.45: `0.45-busybox`, `0.45`, `0.45-busybox-onbuild`, `0.45-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.45/dist/busybox/Dockerfile-busybox))
* Hugo 0.44: `0.44-busybox`, `0.44`, `0.44-busybox-onbuild`, `0.44-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.44/dist/busybox/Dockerfile-busybox))
* Hugo 0.49: `0.49-busybox`, `busybox`, `0.49`, `latest`, `0.49-busybox-onbuild`, `0.49-onbuild`, `busybox-onbuild`, `onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.49/dist/busybox/Dockerfile-busybox))
* Hugo 0.48: `0.48-busybox`, `0.48`, `0.48-busybox-onbuild`, `0.48-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.48/dist/busybox/Dockerfile-busybox))
* Hugo 0.47.1: `0.47.1-busybox`, `0.47.1`, `0.47.1-busybox-onbuild`, `0.47.1-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.47.1/dist/busybox/Dockerfile-busybox))
* Hugo 0.47: `0.47-busybox`, `0.47`, `0.47-busybox-onbuild`, `0.47-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.47/dist/busybox/Dockerfile-busybox))

Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/):
* Hugo 0.46: `0.46-alpine`, `alpine`, `0.46-alpine-onbuild`, `alpine-onbuild`, `0.46-ext-alpine`, `ext-alpine`, `0.46-ext-alpine-onbuild`, `ext-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.46/dist/alpine/Dockerfile-alpine))
* Hugo 0.45.1: `0.45.1-alpine`, `0.45.1-alpine-onbuild`, `0.45.1-ext-alpine`, `0.45.1-ext-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.45.1/dist/alpine/Dockerfile-alpine))
* Hugo 0.45: `0.45-alpine`, `0.45-alpine-onbuild`, `0.45-ext-alpine`, `0.45-ext-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.45/dist/alpine/Dockerfile-alpine))
* Hugo 0.44: `0.44-alpine`, `0.44-alpine-onbuild`, `0.44-ext-alpine`, `0.44-ext-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.44/dist/alpine/Dockerfile-alpine))
* Hugo 0.49: `0.49-alpine`, `alpine`, `0.49-alpine-onbuild`, `alpine-onbuild`, `0.49-ext-alpine`, `ext-alpine`, `0.49-ext-alpine-onbuild`, `ext-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.49/dist/alpine/Dockerfile-alpine))
* Hugo 0.48: `0.48-alpine`, `0.48-alpine-onbuild`, `0.48-ext-alpine`, `0.48-ext-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.48/dist/alpine/Dockerfile-alpine))
* Hugo 0.47.1: `0.47.1-alpine`, `0.47.1-alpine-onbuild`, `0.47.1-ext-alpine`, `0.47.1-ext-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.47.1/dist/alpine/Dockerfile-alpine))
* Hugo 0.47: `0.47-alpine`, `0.47-alpine-onbuild`, `0.47-ext-alpine`, `0.47-ext-alpine-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.47/dist/alpine/Dockerfile-alpine))

Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/) with [Asciidoctor](http://asciidoctor.org/) installed:
* Hugo 0.46: `0.46-asciidoctor`, `asciidoctor`, `0.46-asciidoctor-onbuild`, `asciidoctor-onbuild`, `0.46-ext-asciidoctor`, `ext-asciidoctor`, `0.46-ext-asciidoctor-onbuild`, `ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.46/dist/alpine/Dockerfile-asciidoctor))
* Hugo 0.45.1: `0.45.1-asciidoctor`, `0.45.1-asciidoctor-onbuild`, `0.45.1-ext-asciidoctor`, `0.45.1-ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.45.1/dist/alpine/Dockerfile-asciidoctor))
* Hugo 0.45: `0.45-asciidoctor`, `0.45-asciidoctor-onbuild`, `0.45-ext-asciidoctor`, `0.45-ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.45/dist/alpine/Dockerfile-asciidoctor))
* Hugo 0.44: `0.44-asciidoctor`, `0.44-asciidoctor-onbuild`, `0.44-ext-asciidoctor`, `0.44-ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.44/dist/alpine/Dockerfile-asciidoctor))
* Hugo 0.49: `0.49-asciidoctor`, `asciidoctor`, `0.49-asciidoctor-onbuild`, `asciidoctor-onbuild`, `0.49-ext-asciidoctor`, `ext-asciidoctor`, `0.49-ext-asciidoctor-onbuild`, `ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.49/dist/alpine/Dockerfile-asciidoctor))
* Hugo 0.48: `0.48-asciidoctor`, `0.48-asciidoctor-onbuild`, `0.48-ext-asciidoctor`, `0.48-ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.48/dist/alpine/Dockerfile-asciidoctor))
* Hugo 0.47.1: `0.47.1-asciidoctor`, `0.47.1-asciidoctor-onbuild`, `0.47.1-ext-asciidoctor`, `0.47.1-ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.47.1/dist/alpine/Dockerfile-asciidoctor))
* Hugo 0.47: `0.47-asciidoctor`, `0.47-asciidoctor-onbuild`, `0.47-ext-asciidoctor`, `0.47-ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.47/dist/alpine/Dockerfile-asciidoctor))

Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/) with [Pandoc](https://pandoc.org/) installed:
* Hugo 0.46: `0.46-pandoc`, `pandoc`, `0.46-pandoc-onbuild`, `pandoc-onbuild`, `0.46-ext-pandoc`, `ext-pandoc`, `0.46-ext-pandoc-onbuild`, `ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.46/dist/alpine/Dockerfile-pandoc))
* Hugo 0.45.1: `0.45.1-pandoc`, `0.45.1-pandoc-onbuild`, `0.45.1-ext-pandoc`, `0.45.1-ext-pandoc-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.45.1/dist/alpine/Dockerfile-pandoc))
* Hugo 0.45: `0.45-pandoc`, `0.45-pandoc-onbuild`, `0.45-ext-pandoc`, `0.45-ext-pandoc-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.45/dist/alpine/Dockerfile-pandoc))
* Hugo 0.44: `0.44-pandoc`, `0.44-pandoc-onbuild`, `0.44-ext-pandoc`, `0.44-ext-pandoc-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.44/dist/alpine/Dockerfile-pandoc))
* Hugo 0.49: `0.49-pandoc`, `pandoc`, `0.49-pandoc-onbuild`, `pandoc-onbuild`, `0.49-ext-pandoc`, `ext-pandoc`, `0.49-ext-pandoc-onbuild`, `ext-asciidoctor-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.49/dist/alpine/Dockerfile-pandoc))
* Hugo 0.48: `0.48-pandoc`, `0.48-pandoc-onbuild`, `0.48-ext-pandoc`, `0.48-ext-pandoc-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.48/dist/alpine/Dockerfile-pandoc))
* Hugo 0.47.1: `0.47.1-pandoc`, `0.47.1-pandoc-onbuild`, `0.47.1-ext-pandoc`, `0.47.1-ext-pandoc-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.47.1/dist/alpine/Dockerfile-pandoc))
* Hugo 0.47: `0.47-pandoc`, `0.47-pandoc-onbuild`, `0.47-ext-pandoc`, `0.47-ext-pandoc-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.47/dist/alpine/Dockerfile-pandoc))

Image based upon [Debian](https://hub.docker.com/r/_/debian/):
* Hugo 0.46: `0.46-debian`, `debian`, `0.46-debian-onbuild`, `debian-onbuild`, `0.46-ext`, `ext`, `latest-ext`, `0.46-ext-debian`, `ext-debian`, `0.46-ext-debian-onbuild`, `ext-debian-onbuild`, `0.46-ext-onbuild`, `ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.46/dist/debian/Dockerfile-debian))
* Hugo 0.45.1: `0.45.1-debian`, `0.45.1-debian-onbuild`, `0.45.1-ext`, `0.45.1-ext-debian`, `0.45.1-ext-debian-onbuild`, `0.45.1-ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.45.1/dist/debian/Dockerfile-debian))
* Hugo 0.45: `0.45-debian`, `0.45-debian-onbuild`, `0.45-ext`, `0.45-ext-debian`, `0.45-ext-debian-onbuild`, `0.45-ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.45/dist/debian/Dockerfile-debian))
* Hugo 0.44: `0.44-debian`, `0.44-debian-onbuild`, `0.44-ext`, `0.44-ext-debian`, `0.44-ext-debian-onbuild`, `0.44-ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.44/dist/debian/Dockerfile-debian))
* Hugo 0.49: `0.49-debian`, `debian`, `0.49-debian-onbuild`, `debian-onbuild`, `0.49-ext`, `ext`, `latest-ext`, `0.49-ext-debian`, `ext-debian`, `0.49-ext-debian-onbuild`, `ext-debian-onbuild`, `0.49-ext-onbuild`, `ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.49/dist/debian/Dockerfile-debian))
* Hugo 0.48: `0.48-debian`, `0.48-debian-onbuild`, `0.48-ext`, `0.48-ext-debian`, `0.48-ext-debian-onbuild`, `0.48-ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.48/dist/debian/Dockerfile-debian))
* Hugo 0.47.1: `0.47.1-debian`, `0.47.1-debian-onbuild`, `0.47.1-ext`, `0.47.1-ext-debian`, `0.47.1-ext-debian-onbuild`, `0.47.1-ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.47.1/dist/debian/Dockerfile-debian))
* Hugo 0.47: `0.47-debian`, `0.47-debian-onbuild`, `0.47-ext`, `0.47-ext-debian`, `0.47-ext-debian-onbuild`, `0.47-ext-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.47/dist/debian/Dockerfile-debian))

Image based upon [Ubuntu](https://hub.docker.com/r/_/ubuntu/):
* Hugo 0.46: `0.46-ubuntu`, `ubuntu`, `0.46-ubuntu-onbuild`, `ubuntu-onbuild`, `0.46-ext-ubuntu`, `ext-ubuntu`, `0.46-ext-ubuntu-onbuild`, `ext-ubuntu-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.46/dist/ubuntu/Dockerfile-ubuntu))
* Hugo 0.45.1: `0.45.1-ubuntu`, `0.45.1-ubuntu-onbuild`, `0.45.1-ext-ubuntu`, `0.45.1-ext-ubuntu-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.45.1/dist/ubuntu/Dockerfile-ubuntu))
* Hugo 0.45: `0.45-ubuntu`, `0.45-ubuntu-onbuild`, `0.45-ext-ubuntu`, `0.45-ext-ubuntu-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.45/dist/ubuntu/Dockerfile-ubuntu))
* Hugo 0.44: `0.44-ubuntu`, `0.44-ubuntu-onbuild`, `0.44-ext-ubuntu`, `0.44-ext-ubuntu-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.44/dist/ubuntu/Dockerfile-ubuntu))
* Hugo 0.49: `0.49-ubuntu`, `ubuntu`, `0.49-ubuntu-onbuild`, `ubuntu-onbuild`, `0.49-ext-ubuntu`, `ext-ubuntu`, `0.49-ext-ubuntu-onbuild`, `ext-ubuntu-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.49/dist/ubuntu/Dockerfile-ubuntu))
* Hugo 0.48: `0.48-ubuntu`, `0.48-ubuntu-onbuild`, `0.48-ext-ubuntu`, `0.48-ext-ubuntu-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.48/dist/ubuntu/Dockerfile-ubuntu))
* Hugo 0.47.1: `0.47.1-ubuntu`, `0.47.1-ubuntu-onbuild`, `0.47.1-ext-ubuntu`, `0.47.1-ext-ubuntu-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.47.1/dist/ubuntu/Dockerfile-ubuntu))
* Hugo 0.47: `0.47-ubuntu`, `0.47-ubuntu-onbuild`, `0.47-ext-ubuntu`, `0.47-ext-ubuntu-onbuild` ([Dockerfile](https://github.com/klakegg/docker-hugo/blob/0.47/dist/ubuntu/Dockerfile-ubuntu))

Looking for older tags? Please see the [complete list of tags](https://github.com/klakegg/docker-hugo/blob/master/doc/tags.md).

Expand All @@ -62,13 +62,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.46
docker run --rm -it -v $(pwd):/src -v $(pwd)/output:/target klakegg/hugo:0.49
```

Run server:

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


Expand All @@ -78,7 +78,7 @@ Normal build:

```yaml
build:
image: klakegg/hugo:0.46
image: klakegg/hugo:0.49
volumes:
- .:/src
- ./output:/target
Expand All @@ -88,7 +88,7 @@ Run server:
```yaml
server:
image: klakegg/hugo:0.46
image: klakegg/hugo:0.49
command: server
volumes:
- .:/src
Expand All @@ -107,7 +107,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.46-alpine shell
docker run --rm -it -v $(pwd):/src klakegg/hugo:0.49-alpine shell
```


Expand All @@ -132,7 +132,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.46-onbuild AS hugo
FROM klakegg/hugo:0.49-onbuild AS hugo

FROM nginx
COPY --from=hugo /onbuild /usr/share/nginx/html
Expand All @@ -150,7 +150,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.46-pandoc
docker run --rm -it -v $(pwd):/src -v $(pwd)/output:/src/public -e HUGO_PANDOC="pandoc-default --strip-empty-paragraphs" klakegg/hugo:0.49-pandoc
```


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

In docker-compose using `entrypoint`:

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

0 comments on commit a65bb1f

Please sign in to comment.