Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Dockerfile « exampleSite - github.com/mazgi/hugo-theme-techlog-simple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e3a2b9da5f916ee80c7d30e2adf1e90a61381643 (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.49"
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