Add initial Dockerfile
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
commit
be109b8a5e
1 changed files with 13 additions and 0 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache go libc6-compat
|
||||
|
||||
ARG HUGO_VERSION
|
||||
|
||||
RUN wget "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz" && \
|
||||
tar -xf "hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz" && \
|
||||
mv ./hugo /usr/bin/hugo && \
|
||||
rm -rf "hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz"
|
||||
|
||||
CMD ["/usr/bin/hugo"]
|
||||
|
Loading…
Reference in a new issue