Skip to content

Commit c097477

Browse files
authored
Chore: [AEA-0000] - use name:tag for syft, grype, grant containers (#78)
## Summary - Routine Change ### Details - use name:tag for syft, grype, grant containers
1 parent 4325c48 commit c097477

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ build-all: build-base-image build-node-24-image build-node-24-python-3-10-image
6565
build-regression-tests-image
6666

6767
build-syft:
68-
docker build -f src/base/.devcontainer/Dockerfile.syft --tag local_syft src/base/.devcontainer/
68+
docker build -f src/base/.devcontainer/Dockerfile.syft --tag local_syft:latest src/base/.devcontainer/
6969
build-grype:
70-
docker build -f src/base/.devcontainer/Dockerfile.grype --tag local_grype src/base/.devcontainer/
70+
docker build -f src/base/.devcontainer/Dockerfile.grype --tag local_grype:latest src/base/.devcontainer/
7171

7272
build-grant:
73-
docker build -f src/base/.devcontainer/Dockerfile.grant --tag local_grant src/base/.devcontainer/
73+
docker build -f src/base/.devcontainer/Dockerfile.grant --tag local_grant:latest src/base/.devcontainer/
7474

7575
build-image: build-syft build-grype build-grant guard-CONTAINER_NAME guard-BASE_VERSION_TAG guard-BASE_FOLDER guard-IMAGE_TAG
7676
workspace_folder="$${CONTAINER_NAME}"; \

src/base/.devcontainer/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM local_syft AS syft-build
2-
FROM local_grype AS grype-build
3-
FROM local_grant AS grant-build
1+
FROM local_syft:latest AS syft-build
2+
FROM local_grype:latest AS grype-build
3+
FROM local_grant:latest AS grant-build
44
FROM mcr.microsoft.com/devcontainers/base:ubuntu-22.04
55

66
ARG SCRIPTS_DIR=/usr/local/share/eps

0 commit comments

Comments
 (0)