mirror of
https://github.com/alrayyes/docker-alpine-hugo-git-bash
synced 2023-11-14 15:56:26 +00:00
Update Dockerfile
This commit is contained in:
parent
3dc562de4f
commit
ac7acce99b
@ -8,6 +8,6 @@ ENV HUGO_BINARY hugo_${HUGO_VERSION}_linux-64bit
|
|||||||
RUN apk update && apk add py-pygments && apk add git && apk add bash && rm -rf /var/cache/apk/*
|
RUN apk update && apk add py-pygments && apk add git && apk add bash && rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
# Download and Install hugo
|
# Download and Install hugo
|
||||||
ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY}.tgz /usr/local/
|
ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY}.tar.gz /usr/local/
|
||||||
RUN tar xzf /usr/local/${HUGO_BINARY}.tgz -C /usr/local/bin/ \
|
RUN tar xzf /usr/local/${HUGO_BINARY}.tgz -C /usr/local/bin/ \
|
||||||
&& rm /usr/local/${HUGO_BINARY}.tgz
|
&& rm /usr/local/${HUGO_BINARY}.tgz
|
||||||
|
Loading…
Reference in New Issue
Block a user