From c77e615d06a86253264ce5a4957466d5ccf1b0c0 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Sun, 4 Oct 2020 21:50:37 +0000 Subject: [PATCH] Add hugo to development environment --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ba3e422..d976b2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,14 @@ RUN curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz && \ tar xvfz go1.15.2.linux-amd64.tar.gz && \ sudo chown -R root:root ./go && \ sudo mv go /usr/local && \ - rm -f go1.15.2.linux-amd64.tar.gz + rm -f go1.15.2.linux-amd64.tar.gz + +# Install Hugo +RUN curl -L -O https://github.com/gohugoio/hugo/releases/download/v0.75.1/hugo_0.75.1_Linux-64bit.tar.gz && \ + tar xvfz hugo_0.75.1_Linux-64bit.tar.gz && \ + sudo chown -R root:root ./hugo && \ + sudo mv hugo /usr/local && \ + rm -f hugo_0.75.1_Linux-64bit.tar.gz LICENSE README.md # Start code-server ENTRYPOINT ["/usr/bin/entrypoint.sh", "--bind-addr", "0.0.0.0:8080", "."]