Skip to content

Commit 28228dc

Browse files
committed
fix
1 parent d24971d commit 28228dc

4 files changed

Lines changed: 17 additions & 2 deletions

File tree

Makefile

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff 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

163163
clean:
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 $@

src/languages/node_24_python_3_12/.devcontainer/scripts/vscode_install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
3+
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
34

45
asdf plugin add python
56
asdf plugin add poetry https://github.com/asdf-community/asdf-poetry.git

src/languages/node_24_python_3_13/.devcontainer/scripts/vscode_install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
3+
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
34

45
asdf plugin add python
56
asdf plugin add poetry https://github.com/asdf-community/asdf-poetry.git

src/languages/node_24_python_3_14/.devcontainer/scripts/vscode_install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
3+
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
34

45
asdf plugin add python
56
asdf plugin add poetry https://github.com/asdf-community/asdf-poetry.git

0 commit comments

Comments
 (0)