2016-09-22 14:13:07 +00:00
|
|
|
FROM mhart/alpine-node:latest
|
|
|
|
MAINTAINER Ryan Kes <ryan@andthensome.nl>
|
|
|
|
|
|
|
|
ENV HUGO_VERSION 0.16
|
|
|
|
ENV HUGO_BINARY hugo_${HUGO_VERSION}_linux-64bit
|
|
|
|
|
|
|
|
# Install pygments (for syntax highlighting)
|
2016-09-22 14:39:12 +00:00
|
|
|
RUN apk update && apk add py-pygments && apk add git && rm -rf /var/cache/apk/*
|
2016-09-22 14:13:07 +00:00
|
|
|
|
|
|
|
# Download and Install hugo
|
|
|
|
ADD https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY}.tgz /usr/local/
|
|
|
|
RUN tar xzf /usr/local/${HUGO_BINARY}.tgz -C /usr/local/bin/ \
|
|
|
|
&& rm /usr/local/${HUGO_BINARY}.tgz
|
|
|
|
|
|
|
|
# Install surge client
|
|
|
|
RUN npm install -g surge
|