init: first commit
This commit is contained in:
18
Makefile
Normal file
18
Makefile
Normal 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
|
||||
Reference in New Issue
Block a user