blob: 91d2e3d747ea5eff1b998f81e53466cd57a3407d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
FROM ubuntu:18.04@sha256:de774a3145f7ca4f0bd144c7d4ffb2931e06634f11529653b23eba85aef8e378
MAINTAINER "Hidenori MATSUKI <matsuki.hidenori+docker@gmail.com>"
ENV DOCKERBUILD_HUGO_VERSION="0.57.0"
ENV DEBIAN_FRONTEND="noninteractive"
RUN : 'Install packages' \
&& apt update \
&& apt install -y --no-install-recommends ca-certificates openssh-client curl git \
&& : 'Download and install Hugo' \
&& curl -LO "https://github.com/gohugoio/hugo/releases/download/v${DOCKERBUILD_HUGO_VERSION}/hugo_${DOCKERBUILD_HUGO_VERSION}_Linux-64bit.deb" \
&& dpkg -i hugo_${DOCKERBUILD_HUGO_VERSION}_Linux-64bit.deb \
&& : 'Clean up' \
&& apt clean
|