diff --git a/build-locally.sh b/build-locally.sh index 19c24a2d6..199ceba75 100755 --- a/build-locally.sh +++ b/build-locally.sh @@ -139,3 +139,7 @@ fi echo "==> Done. Generated site is in: $DOC_WORK/generator/_site" echo " Tarballs (if packaged) are in: $DOC_WORK/output/" +echo " Start a webserver:" +echo " python3 -m http.server --directory $DOC_WORK/generator/_site/" +echo " And then open in your browser:" +echo " http://127.0.0.1:8000/" diff --git a/generator/build/Dockerfile b/generator/build/Dockerfile index d38716283..148bf5028 100644 --- a/generator/build/Dockerfile +++ b/generator/build/Dockerfile @@ -15,7 +15,7 @@ COPY install.sh / COPY install_hugo.sh / USER jenkins WORKDIR /home/jenkins -RUN bash -x /install.sh +RUN sudo apt-get update -qy && bash -x /install.sh RUN bash /install_hugo.sh # This is where our repos will be