From 99bac4e6e1ba6ac9d38e835658ea1adf5d7ec74c Mon Sep 17 00:00:00 2001 From: shockrah Date: Mon, 2 Oct 2023 20:38:11 -0700 Subject: [PATCH] Smaller website image --- website/Dockerfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/website/Dockerfile b/website/Dockerfile index 2106efd..ae7822b 100644 --- a/website/Dockerfile +++ b/website/Dockerfile @@ -1,9 +1,11 @@ FROM debian:sid-slim -MAINTAINER Alejandro Santillana alejandros714@protonmail.com - -# For building and deploying to the VPS's and neocities +# Install wget -> Install hugo -> Cleanup RUN apt-get update && \ - apt-get install -y pandoc hugo curl --no-install-recommends && \ - rm -rf var/lib/{apt,dpkg,cache,log}/ + apt-get install -y --no-install-recommends ca-certificates wget && \ + wget -O /tmp/hugo.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.119.0/hugo_extended_0.119.0_linux-amd64.tar.gz && \ + tar -xzf /tmp/hugo.tar.gz && \ + mv /hugo /usr/local/bin/ && \ + apt remove -y ca-certificates wget && \ + rm -rf var/lib/{apt,dpkg,cache,log}/ /tmp/hugo*