File tree Expand file tree Collapse file tree
node_24_python_3_12/.devcontainer/scripts
node_24_python_3_13/.devcontainer/scripts
node_24_python_3_14/.devcontainer/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ build-grant:
8585 docker build -f src/base/.devcontainer/Dockerfile.grant --tag local_grant:latest src/base/.devcontainer/; \
8686 fi
8787
88- build-tflint :
88+ build-tflint : guard-GITHUB_TOKEN
8989 @if docker image inspect local_tflint:latest > /dev/null 2>&1 ; then \
9090 echo " Image local_tflint:latest already exists. Skipping build." ; \
9191 else \
@@ -96,7 +96,7 @@ build-tflint:
9696 src/base/.devcontainer/; \
9797 fi
9898
99- build-zizmor :
99+ build-zizmor : guard-GITHUB_TOKEN
100100 @if docker image inspect local_zizmor:latest > /dev/null 2>&1 ; then \
101101 echo " Image local_zizmor:latest already exists. Skipping build." ; \
102102 else \
@@ -162,6 +162,18 @@ lint-githubaction-scripts:
162162
163163clean :
164164 rm -rf .out
165+ docker image rm local_syft:latest || true
166+ docker image rm local_grype:latest || true
167+ docker image rm local_grant:latest || true
168+ docker image rm local_tflint:latest || true
169+ docker image rm local_zizmor:latest || true
170+
171+ deep-clean : clean
172+ rm -rf .venv
173+ find . -name ' node_modules' -type d -prune -exec rm -rf ' {}' +
174+ poetry env remove --all
175+ docker images --format " {{.Repository}}:{{.Tag}}" | grep " :local-build" | xargs -r docker rmi -f
176+
165177
166178% :
167179 @$(MAKE ) -f /usr/local/share/eps/Mk/common.mk $@
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -e
3+ SCRIPT_DIR=" $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " && pwd) "
34
45asdf plugin add python
56asdf plugin add poetry https://github.com/asdf-community/asdf-poetry.git
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -e
3+ SCRIPT_DIR=" $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " && pwd) "
34
45asdf plugin add python
56asdf plugin add poetry https://github.com/asdf-community/asdf-poetry.git
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -e
3+ SCRIPT_DIR=" $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " && pwd) "
34
45asdf plugin add python
56asdf plugin add poetry https://github.com/asdf-community/asdf-poetry.git
You can’t perform that action at this time.
0 commit comments