1
0
mirror of https://github.com/alrayyes/docker-alpine-hugo-git-bash synced 2023-11-14 15:56:26 +00:00

added dockerfile

This commit is contained in:
Ryan 2016-09-25 12:31:24 +02:00
parent af0a8674d6
commit e560ccad99
2 changed files with 20 additions and 0 deletions

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM alpine: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)
RUN apk update && apk add py-pygments && apk add git && apk add bash && rm -rf /var/cache/apk/*
# 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

7
README.md Normal file
View File

@ -0,0 +1,7 @@
# Docker Alpine Hugo Git Bash
Minimal container with [Hugo](https://gohugo.io), Git & Bash installed. Built to be used with [wercker](http://wercker.com/). Leverages [alpine](https://hub.docker.com/_/alpine/) base image.
## Usage
docker run --rm andthensome/alpine-hugo-git-bash