From 117f3afdd9d6f37441f1fed6129c2fc1bf29cec4 Mon Sep 17 00:00:00 2001 From: Augustin Husson Date: Wed, 3 Jan 2024 15:34:31 +0100 Subject: [PATCH] fix missing docker image and install git before doing go install Signed-off-by: Augustin Husson --- website/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/Dockerfile b/website/Dockerfile index 9527cb2..c1ec487 100644 --- a/website/Dockerfile +++ b/website/Dockerfile @@ -5,8 +5,8 @@ COPY ./scripts ./scripts COPY Makefile . COPY .mdox.yaml . -RUN go install github.com/bwplotka/mdox@latest RUN apt update && apt install -y git make +RUN go install github.com/bwplotka/mdox@latest RUN make synchronize @@ -21,7 +21,7 @@ RUN npm install --ignore-scripts RUN hugo --minify --gc --cleanDestinationDir -FROM hugomods/hugo:nginx +FROM docker.io/hugomods/hugo:nginx # Copy the generated files to keep the image as small as possible. COPY --from=builder /src/public /site