diff --git a/Dockerfile b/Dockerfile index a0fe56b8..bf1f98b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.fedoraproject.org/fedora-minimal:36 +FROM registry.fedoraproject.org/fedora-minimal:40 ARG HUGO_VERSION @@ -23,7 +23,7 @@ RUN tar xzvf /hugo.tar.gz -C / \ && mv /hugo /usr/bin/hugo # Stuff for docsy -RUN npm -g -D install postcss postcss-cli autoprefixer fontawesome +RUN npm -g -D install postcss postcss-cli autoprefixer # Install html-proofer RUN gem install html-proofer diff --git a/Makefile b/Makefile index ef22183d..97487267 100644 --- a/Makefile +++ b/Makefile @@ -82,4 +82,4 @@ URL_IGNORE:=$(URL_IGNORE)$(NEW_URLS) ## validate-site: Builds the site and validates the pages. This is used for CI .PHONY: validate-site validate-site: build-hugo - ${DORP} run -t -i --rm -v "$(shell pwd)":/site:z -w /site ${KIALI_HUGO_IMAGE} /bin/bash -c "npm prune && npm config set fetch-retry-mintimeout 20000 && npm config set fetch-retry-maxtimeout 120000 && hugo && htmlproofer --typhoeus '{\"connecttimeout\": 30, \"timeout\": 30}' --hydra='{\"max_concurrency\": 6}' --allow-hash-href --allow-missing-href --ignore-empty-alt --ignore-missing-alt --no-check-external-hash --no-check-internal-hash --no-enforce-https --ignore_status_codes "302" --ignore-urls \"${URL_IGNORE}\" ./public" + ${DORP} run -t -i --rm -v "$(shell pwd)":/site:z -w /site ${KIALI_HUGO_IMAGE} /bin/bash -c "cd themes/docsy && npm install && cd ../.. && npm prune && npm config set fetch-retry-mintimeout 20000 && npm config set fetch-retry-maxtimeout 120000 && hugo && htmlproofer --typhoeus '{\"connecttimeout\": 30, \"timeout\": 30}' --hydra='{\"max_concurrency\": 6}' --allow-hash-href --allow-missing-href --ignore-empty-alt --ignore-missing-alt --no-check-external-hash --no-check-internal-hash --no-enforce-https --ignore_status_codes "302" --ignore-urls \"${URL_IGNORE}\" ./public"