Skip to content

Commit

Permalink
Version 0.78.0
Browse files Browse the repository at this point in the history
  • Loading branch information
klakegg committed Nov 3, 2020
1 parent f98e831 commit 8a290e5
Show file tree
Hide file tree
Showing 6 changed files with 130 additions and 59 deletions.
38 changes: 16 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,44 +11,38 @@ These images sets `bind` when started as server, otherwise no magic.
Default minimal image based upon [Busybox](https://hub.docker.com/r/_/busybox/):
* Aliases: `latest`, `busybox`, `busybox-ci`, `ci`, `busybox-onbuild`, `onbuild`
<!-- * Hugo NEXT: `NEXT-busybox`, `NEXT`, `NEXT-busybox-ci`, `NEXT-ci`, `NEXT-busybox-onbuild`, `NEXT-onbuild` -->
* Hugo 0.78.0: `0.78.0-busybox`, `0.78.0`, `0.78.0-busybox-ci`, `0.78.0-ci`, `0.78.0-busybox-onbuild`, `0.78.0-onbuild`
* Hugo 0.77.0: `0.77.0-busybox`, `0.77.0`, `0.77.0-busybox-ci`, `0.77.0-ci`, `0.77.0-busybox-onbuild`, `0.77.0-onbuild`
* Hugo 0.76.5: `0.76.5-busybox`, `0.76.5`, `0.76.5-busybox-onbuild`, `0.76.5-onbuild`
* Hugo 0.76.4: `0.76.4-busybox`, `0.76.4`, `0.76.4-busybox-onbuild`, `0.76.4-onbuild`

Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/):
* Aliases: `alpine`, `alpine-ci`, `alpine-onbuild`, `ext-alpine`, `ext-alpine-ci`, `ext-alpine-onbuild`
<!-- * Hugo NEXT: `NEXT-alpine`, `NEXT-alpine-ci`, `NEXT-alpine-onbuild`, `NEXT-ext-alpine`, `NEXT-ext-alpine-ci`, `NEXT-ext-alpine-onbuild` -->
* Hugo 0.78.0: `0.78.0-alpine`, `0.78.0-alpine-ci`, `0.78.0-alpine-onbuild`, `0.78.0-ext-alpine`, `0.78.0-ext-alpine-ci`, `0.78.0-ext-alpine-onbuild`
* Hugo 0.77.0: `0.77.0-alpine`, `0.77.0-alpine-ci`, `0.77.0-alpine-onbuild`, `0.77.0-ext-alpine`, `0.77.0-ext-alpine-ci`, `0.77.0-ext-alpine-onbuild`
* Hugo 0.76.5: `0.76.5-alpine`, `0.76.5-alpine-onbuild`, `0.76.5-ext-alpine`, `0.76.5-ext-alpine-onbuild`
* Hugo 0.76.4: `0.76.4-alpine`, `0.76.4-alpine-onbuild`, `0.76.4-ext-alpine`, `0.76.4-ext-alpine-onbuild`

Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/) with [Asciidoctor](http://asciidoctor.org/) installed:
* Aliases: `asciidoctor`, `asciidoctor-ci`, `asciidoctor-onbuild`, `ext-asciidoctor`, `ext-asciidoctor-ci`, `ext-asciidoctor-onbuild`
<!-- * Hugo NEXT: `NEXT-asciidoctor`, `NEXT-asciidoctor-onbuild`, `NEXT-asciidoctor-ci`, `NEXT-ext-asciidoctor`, `NEXT-ext-asciidoctor-ci`, `NEXT-ext-asciidoctor-onbuild` -->
* Hugo 0.78.0: `0.78.0-asciidoctor`, `0.78.0-asciidoctor-onbuild`, `0.78.0-asciidoctor-ci`, `0.78.0-ext-asciidoctor`, `0.78.0-ext-asciidoctor-ci`, `0.78.0-ext-asciidoctor-onbuild`
* Hugo 0.77.0: `0.77.0-asciidoctor`, `0.77.0-asciidoctor-onbuild`, `0.77.0-asciidoctor-ci`, `0.77.0-ext-asciidoctor`, `0.77.0-ext-asciidoctor-ci`, `0.77.0-ext-asciidoctor-onbuild`
* Hugo 0.76.5: `0.76.5-asciidoctor`, `0.76.5-asciidoctor-onbuild`, `0.76.5-ext-asciidoctor`, `0.76.5-ext-asciidoctor-onbuild`
* Hugo 0.76.4: `0.76.4-asciidoctor`, `0.76.4-asciidoctor-onbuild`, `0.76.4-ext-asciidoctor`, `0.76.4-ext-asciidoctor-onbuild`

Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/) with [Pandoc](https://pandoc.org/) installed:
* Aliases: `pandoc`, `pandoc-ci`, `pandoc-onbuild`, `ext-pandoc`, `ext-pandoc-ci`, `ext-pandoc-onbuild`
<!-- * Hugo NEXT: `NEXT-pandoc`, `NEXT-pandoc-ci`, `NEXT-pandoc-onbuild`, `NEXT-ext-pandoc`, `NEXT-ext-pandoc-ci`, `NEXT-ext-pandoc-onbuild` -->
* Hugo 0.78.0: `0.78.0-pandoc`, `0.78.0-pandoc-ci`, `0.78.0-pandoc-onbuild`, `0.78.0-ext-pandoc`, `0.78.0-ext-pandoc-ci`, `0.78.0-ext-pandoc-onbuild`
* Hugo 0.77.0: `0.77.0-pandoc`, `0.77.0-pandoc-ci`, `0.77.0-pandoc-onbuild`, `0.77.0-ext-pandoc`, `0.77.0-ext-pandoc-ci`, `0.77.0-ext-pandoc-onbuild`
* Hugo 0.76.5: `0.76.5-pandoc`, `0.76.5-pandoc-onbuild`, `0.76.5-ext-pandoc`, `0.76.5-ext-pandoc-onbuild`
* Hugo 0.76.4: `0.76.4-pandoc`, `0.76.4-pandoc-onbuild`, `0.76.4-ext-pandoc`, `0.76.4-ext-pandoc-onbuild`

Image based upon [Debian](https://hub.docker.com/r/_/debian/):
* Aliases: `debian`, `debian-ci`, `debian-onbuild`, `ext`, `latest-ext`, `ext-debian`, `ext-debian-ci`, `ext-ci`, `ext-debian-onbuild`, `ext-onbuild`
<!-- * Hugo NEXT: `NEXT-debian`, `NEXT-debian-ci`, `NEXT-debian-onbuild`, `NEXT-ext`, `NEXT-ext-debian`, `NEXT-ext-debian-ci`, `NEXT-ext-ci`, `NEXT-ext-debian-onbuild`, `NEXT-ext-onbuild` -->
* Hugo 0.78.0: `0.78.0-debian`, `0.78.0-debian-ci`, `0.78.0-debian-onbuild`, `0.78.0-ext`, `0.78.0-ext-debian`, `0.78.0-ext-debian-ci`, `0.78.0-ext-ci`, `0.78.0-ext-debian-onbuild`, `0.78.0-ext-onbuild`
* Hugo 0.77.0: `0.77.0-debian`, `0.77.0-debian-ci`, `0.77.0-debian-onbuild`, `0.77.0-ext`, `0.77.0-ext-debian`, `0.77.0-ext-debian-ci`, `0.77.0-ext-ci`, `0.77.0-ext-debian-onbuild`, `0.77.0-ext-onbuild`
* Hugo 0.76.5: `0.76.5-debian`, `0.76.5-debian-onbuild`, `0.76.5-ext`, `0.76.5-ext-debian`, `0.76.5-ext-debian-onbuild`, `0.76.5-ext-onbuild`
* Hugo 0.76.4: `0.76.4-debian`, `0.76.4-debian-onbuild`, `0.76.4-ext`, `0.76.4-ext-debian`, `0.76.4-ext-debian-onbuild`, `0.76.4-ext-onbuild`

Image based upon [Ubuntu](https://hub.docker.com/r/_/ubuntu/):
* Aliases: `ubuntu`, `ubuntu-ci`, `ubuntu-onbuild`, `ext-ubuntu`, `ext-ubuntu-ci`, `ext-ubuntu-onbuild`
<!-- * Hugo NEXT: `NEXT-ubuntu`, `NEXT-ubuntu-ci`, `NEXT-ubuntu-onbuild`, `NEXT-ext-ubuntu`, `NEXT-ext-ubuntu-ci`, `NEXT-ext-ubuntu-onbuild` -->
* Hugo 0.78.0: `0.78.0-ubuntu`, `0.78.0-ubuntu-ci`, `0.78.0-ubuntu-onbuild`, `0.78.0-ext-ubuntu`, `0.78.0-ext-ubuntu-ci`, `0.78.0-ext-ubuntu-onbuild`
* Hugo 0.77.0: `0.77.0-ubuntu`, `0.77.0-ubuntu-ci`, `0.77.0-ubuntu-onbuild`, `0.77.0-ext-ubuntu`, `0.77.0-ext-ubuntu-ci`, `0.77.0-ext-ubuntu-onbuild`
* Hugo 0.76.5: `0.76.5-ubuntu`, `0.76.5-ubuntu-onbuild`, `0.76.5-ext-ubuntu`, `0.76.5-ext-ubuntu-onbuild`
* Hugo 0.76.4: `0.76.4-ubuntu`, `0.76.4-ubuntu-onbuild`, `0.76.4-ext-ubuntu`, `0.76.4-ext-ubuntu-onbuild`

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

Expand All @@ -66,7 +60,7 @@ Normal build:
```shell
docker run --rm -it \
-v $(pwd):/src \
klakegg/hugo:0.77.0
klakegg/hugo:0.78.0
```

Run server:
Expand All @@ -75,7 +69,7 @@ Run server:
docker run --rm -it \
-v $(pwd):/src \
-p 1313:1313 \
klakegg/hugo:0.77.0 \
klakegg/hugo:0.78.0 \
server
```

Expand All @@ -86,7 +80,7 @@ Normal build:

```yaml
build:
image: klakegg/hugo:0.77.0
image: klakegg/hugo:0.78.0
volumes:
- ".:/src"
```
Expand All @@ -95,7 +89,7 @@ Run server:
```yaml
server:
image: klakegg/hugo:0.77.0
image: klakegg/hugo:0.78.0
command: server
volumes:
- ".:/src"
Expand Down Expand Up @@ -142,7 +136,7 @@ services:
script:
- docker run --rm -i \
-v $(pwd):/src \
klakegg/hugo:0.77.0
klakegg/hugo:0.78.0
```

The `bash` environment is used for faster loading before Travis is ready to trigger Docker.
Expand All @@ -158,7 +152,7 @@ To get into a shell for your site:
```shell
docker run --rm -it \
-v $(pwd):/src \
klakegg/hugo:0.77.0-alpine \
klakegg/hugo:0.78.0-alpine \
shell
```

Expand Down Expand Up @@ -190,7 +184,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.77.0-onbuild AS hugo
FROM klakegg/hugo:0.78.0-onbuild AS hugo
FROM nginx
COPY --from=hugo /target /usr/share/nginx/html
Expand Down Expand Up @@ -227,7 +221,7 @@ Example of explicit setting `pandoc` alias:
docker run --rm -it \
-v $(pwd):/src \
-e HUGO_PANDOC="pandoc-default --strip-empty-paragraphs" \
klakegg/hugo:0.77.0-pandoc
klakegg/hugo:0.78.0-pandoc
```


Expand All @@ -243,14 +237,14 @@ On command line using `--entrypoint`:
docker run --rm -it \
-v $(pwd):/src \
--entrypoint hugo-official \
klakegg/hugo:0.77.0
klakegg/hugo:0.78.0
```

In docker-compose using `entrypoint`:

```yaml
build:
image: klakegg/hugo:0.77.0
image: klakegg/hugo:0.78.0
entrypoint: hugo-official
volumes:
- ".:/src"
Expand Down
49 changes: 49 additions & 0 deletions doc/changelog/0.78.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
## :tada: Features

* Argument `HUGO_DIR` added for `onbuild` variants. (Contributed by [@kusha](https://github.com/kusha))


## :heartbeat: Updates

* Hugo: [`0.77.0`](https://github.com/klakegg/docker-hugo/releases/tag/0.77.0) => `0.78.0`


## Docker images

This release is available from Docker Hub as project `klakegg/hugo` with the following tags:

| Alias tags | Version specific tags |
| ---------------------------- | ------------------------------------------ |
| `busybox`, `latest` | `0.78.0-busybox`, `0.78.0` |
| `busybox-ci`, `ci` | `0.78.0-busybox-ci`, `0.78.0-ci` |
| `busybox-onbuild`, `onbuild` | `0.78.0-busybox-onbuild`, `0.78.0-onbuild` |
| `alpine` | `0.78.0-alpine` |
| `alpine-ci` | `0.78.0-alpine-ci` |
| `alpine-onbuild` | `0.78.0-alpine-onbuild` |
| `asciidoctor` | `0.78.0-asciidoctor` |
| `asciidoctor-ci` | `0.78.0-asciidoctor-ci` |
| `asciidoctor-onbuild` | `0.78.0-asciidoctor-onbuild` |
| `pandoc` | `0.78.0-pandoc` |
| `pandoc-ci` | `0.78.0-pandoc-ci` |
| `pandoc-onbuild` | `0.78.0-pandoc-onbuild` |
| `ext-alpine` | `0.78.0-ext-alpine` |
| `ext-alpine-ci` | `0.78.0-ext-alpine-ci` |
| `ext-alpine-onbuild` | `0.78.0-ext-alpine-onbuild` |
| `ext-asciidoctor` | `0.78.0-ext-asciidoctor` |
| `ext-asciidoctor-ci` | `0.78.0-ext-asciidoctor-ci` |
| `ext-asciidoctor-onbuild` | `0.78.0-ext-asciidoctor-onbuild` |
| `ext-pandoc` | `0.78.0-ext-pandoc` |
| `ext-pandoc-ci` | `0.78.0-ext-pandoc-ci` |
| `ext-pandoc-onbuild` | `0.78.0-ext-pandoc-onbuild` |
| `debian` | `0.78.0-debian` |
| `debian-ci` | `0.78.0-debian-ci` |
| `debian-onbuild` | `0.78.0-debian-onbuild` |
| `ext-debian`, `ext`, `latest-ext` | `0.78.0-ext-debian`, `0.78.0-ext` |
| `ext-debian-ci`, `ext-ci` | `0.78.0-ext-debian-ci`, `0.78.0-ext-ci` |
| `ext-debian-onbuild`, `ext-onbuild` | `0.78.0-ext-debian-onbuild`, `0.78.0-ext-onbuild` |
| `ubuntu` | `0.78.0-ubuntu` |
| `ubuntu-ci` | `0.78.0-ubuntu-ci` |
| `ubuntu-onbuild` | `0.78.0-ubuntu-onbuild` |
| `ext-ubuntu` | `0.78.0-ext-ubuntu` |
| `ext-ubuntu-ci` | `0.78.0-ext-ubuntu-ci` |
| `ext-ubuntu-onbuild` | `0.78.0-ext-ubuntu-onbuild` |
49 changes: 30 additions & 19 deletions doc/changelog/NEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

## :heartbeat: Updates

* Hugo: [`0.77.0`](https://github.com/klakegg/docker-hugo/releases/tag/0.77.0) => `NEXT`
* Hugo: [`0.78.0`](https://github.com/klakegg/docker-hugo/releases/tag/0.78.0) => `NEXT`


## Docker images
Expand All @@ -24,25 +24,36 @@ This release is available from Docker Hub as project `klakegg/hugo` with the fol

| Alias tags | Version specific tags |
| ---------------------------- | ------------------------------------------ |
| `busybox`, `latest` | `NEXT-busybox`, `NEXT` |
| `busybox-onbuild`, `onbuild` | `NEXT-busybox-onbuild`, `NEXT-onbuild` |
| `alpine` | `NEXT-alpine` |
| `alpine-onbuild` | `NEXT-alpine-onbuild` |
| `asciidoctor` | `NEXT-asciidoctor` |
| `asciidoctor-onbuild` | `NEXT-asciidoctor-onbuild` |
| `pandoc` | `NEXT-pandoc` |
| `pandoc-onbuild` | `NEXT-pandoc-onbuild` |
| `ext-alpine` | `NEXT-ext-alpine` |
| `ext-alpine-onbuild` | `NEXT-ext-alpine-onbuild` |
| `ext-asciidoctor` | `NEXT-ext-asciidoctor` |
| `ext-asciidoctor-onbuild` | `NEXT-ext-asciidoctor-onbuild` |
| `ext-pandoc` | `NEXT-ext-pandoc` |
| `ext-pandoc-onbuild` | `NEXT-ext-pandoc-onbuild` |
| `debian` | `NEXT-debian` |
| `debian-onbuild` | `NEXT-debian-onbuild` |
| `ext-debian`, `ext`, `latest-ext` | `NEXT-ext-debian`, `NEXT-ext` |
| `busybox`, `latest` | `NEXT-busybox`, `NEXT` |
| `busybox-ci`, `ci` | `NEXT-busybox-ci`, `NEXT-ci` |
| `busybox-onbuild`, `onbuild` | `NEXT-busybox-onbuild`, `NEXT-onbuild` |
| `alpine` | `NEXT-alpine` |
| `alpine-ci` | `NEXT-alpine-ci` |
| `alpine-onbuild` | `NEXT-alpine-onbuild` |
| `asciidoctor` | `NEXT-asciidoctor` |
| `asciidoctor-ci` | `NEXT-asciidoctor-ci` |
| `asciidoctor-onbuild` | `NEXT-asciidoctor-onbuild` |
| `pandoc` | `NEXT-pandoc` |
| `pandoc-ci` | `NEXT-pandoc-ci` |
| `pandoc-onbuild` | `NEXT-pandoc-onbuild` |
| `ext-alpine` | `NEXT-ext-alpine` |
| `ext-alpine-ci` | `NEXT-ext-alpine-ci` |
| `ext-alpine-onbuild` | `NEXT-ext-alpine-onbuild` |
| `ext-asciidoctor` | `NEXT-ext-asciidoctor` |
| `ext-asciidoctor-ci` | `NEXT-ext-asciidoctor-ci` |
| `ext-asciidoctor-onbuild` | `NEXT-ext-asciidoctor-onbuild` |
| `ext-pandoc` | `NEXT-ext-pandoc` |
| `ext-pandoc-ci` | `NEXT-ext-pandoc-ci` |
| `ext-pandoc-onbuild` | `NEXT-ext-pandoc-onbuild` |
| `debian` | `NEXT-debian` |
| `debian-ci` | `NEXT-debian-ci` |
| `debian-onbuild` | `NEXT-debian-onbuild` |
| `ext-debian`, `ext`, `latest-ext` | `NEXT-ext-debian`, `NEXT-ext` |
| `ext-debian-ci`, `ext-ci` | `NEXT-ext-debian-ci`, `NEXT-ext-ci` |
| `ext-debian-onbuild`, `ext-onbuild` | `NEXT-ext-debian-onbuild`, `NEXT-ext-onbuild` |
| `ubuntu` | `NEXT-ubuntu` |
| `ubuntu-ci` | `NEXT-ubuntu-ci` |
| `ubuntu-onbuild` | `NEXT-ubuntu-onbuild` |
| `ext-ubuntu` | `NEXT-ext-ubuntu` |
| `ext-ubuntu-onbuild` | `NEXT-ext-ubuntu-onbuild` |
| `ext-ubuntu-ci` | `NEXT-ext-ubuntu-ci` |
| `ext-ubuntu-onbuild` | `NEXT-ext-ubuntu-onbuild` |
Loading

0 comments on commit 8a290e5

Please sign in to comment.