This is an automated email from the ASF dual-hosted git repository.

snuyanzin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-ci-docker.git

commit 52d29eb1d6690480a14e696049648ab2b816015d
Author: Chesnay Schepler <[email protected]>
AuthorDate: Wed May 4 13:55:31 2022 +0200

    Install hugo
---
 base/Dockerfile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/base/Dockerfile b/base/Dockerfile
index 925be98..5ae5cf8 100644
--- a/base/Dockerfile
+++ b/base/Dockerfile
@@ -40,6 +40,13 @@ RUN mkdir -p /usr/share/go \
  && rm -f /tmp/go.tar.gz \
  && ln -s /usr/share/go/bin/go /usr/bin/go
 
+# Install hugo
+RUN mkdir -p /usr/share/hugo \ 
+ && curl -fsSL -o /tmp/hugo.tar.gz 
https://github.com/gohugoio/hugo/releases/download/v0.98.0/hugo_extended_0.98.0_Linux-64bit.tar.gz
 \
+ && tar -xzf /tmp/hugo.tar.gz -C /usr/share/hugo \
+ && rm -f /tmp/hugo.tar.gz \
+ && ln -s /usr/share/hugo/hugo /usr/bin/hugo
+
 # Install maven
 ARG MAVEN_VERSION=3.2.5
 ARG USER_HOME_DIR="/root"

Reply via email to