Fix running docs site with docker (#5512)

* Update docs site local build

Clean up makefile

Ignore container-image.sentinel

Fix hugo server errors

Ignore files

Add makefile credit

* Indentation per feedback

* Address PR feedback. Remove sentinel file

* Remove change to .gitignore
This commit is contained in:
Nick
2024-01-31 14:54:03 -08:00
committed by GitHub
parent b1b61ad4cf
commit add367bf2e
6 changed files with 262 additions and 62 deletions

10
site/scripts/hash-files.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
# this script emits as hash for the files listed in $@
if command -v shasum >/dev/null 2>&1; then
cat "$@" | shasum -a 256 | cut -d' ' -f1
elif command -v sha256sum >/dev/null 2>&1; then
cat "$@" | sha256sum | cut -d' ' -f1
else
echo "missing shasum tool" 1>&2
exit 1
fi