use latest binaries
This commit is contained in:
parent
cc3caa58b6
commit
8d8307d768
3 changed files with 39 additions and 14 deletions
|
@ -1,2 +1,9 @@
|
|||
FROM docker.io/alpine:latest
|
||||
RUN apk add --no-cache hugo git openssh rsync
|
||||
ARG HUGO_VERSION
|
||||
RUN apk add --no-cache wget tar git openssh rsync
|
||||
|
||||
RUN wget https://github.com/gohugoio/hugo/releases/latest/download/hugo_extended_${HUGO_VERSION}_linux_amd64.tar.gz
|
||||
RUN tar -xf hugo_extended_${HUGO_VERSION}_linux_amd64.tar.gz
|
||||
RUN ls -lah
|
||||
RUN chmod +x hugo_extended_${HUGO_VERSION}_linux_amd64
|
||||
RUN mv hugo_extended_${HUGO_VERSION}_linux_amd64 /usr/local/bin/hugo
|
Loading…
Add table
Add a link
Reference in a new issue