Add hugo to development environment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steven Polley 2020-10-04 21:50:37 +00:00
parent ddd4ddddf2
commit c77e615d06

View File

@ -14,5 +14,12 @@ RUN curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz && \
sudo mv go /usr/local && \ 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 # Start code-server
ENTRYPOINT ["/usr/bin/entrypoint.sh", "--bind-addr", "0.0.0.0:8080", "."] ENTRYPOINT ["/usr/bin/entrypoint.sh", "--bind-addr", "0.0.0.0:8080", "."]