init: first commit

This commit is contained in:
2024-05-19 20:16:31 +00:00
parent a931d2096d
commit 9ceea7cbbe
7 changed files with 292 additions and 1 deletions

18
Makefile Normal file
View File

@@ -0,0 +1,18 @@
init-sandbox:
docker run -d --name dev-ct alpine sleep infinity
docker exec -it dev-ct ash
clean-sandbox:
docker stop dev-ct && docker rm dev-ct
lint:
docker run --rm -i ghcr.io/hadolint/hadolint < Dockerfile
build-dev:
docker build --no-cache -t hugo-dev .
run-dev:
docker run -p 80:1313 --name hugo-dev -d hugo-dev
clean-dev:
docker rm -f hugo-dev