Dockerfile 290 B

12345678910
  1. FROM alpine
  2. WORKDIR /tmp
  3. RUN apk add --no-cache wget tar gzip nodejs nodejs-npm \
  4. && wget -q https://github.com/gohugoio/hugo/releases/download/v0.38.2/hugo_0.38.2_Linux-64bit.tar.gz \
  5. && tar -xzvf hugo_0.38.2_Linux-64bit.tar.gz \
  6. && cp hugo /usr/local/bin/
  7. RUN hugo version