-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docker-casa): upgrade lxml version (#330)
- Loading branch information
Showing
4 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ignored: | ||
- DL3018 # Pin versions in apk add | ||
- DL3013 # Pin versions in pip | ||
- DL3003 # Use WORKDIR to switch to a directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
GLUU_VERSION=5.0.0 | ||
GLUU_VERSION?=5.0.0 | ||
IMAGE_NAME=gluufederation/casa | ||
UNSTABLE_VERSION=dev | ||
UNSTABLE_VERSION?=dev | ||
|
||
.PHONY: test clean all build-dev trivy-scan grype-scan | ||
.DEFAULT_GOAL := build-dev | ||
|
||
build-dev: | ||
@echo "[I] Building Docker image ${IMAGE_NAME}:${GLUU_VERSION}_${UNSTABLE_VERSION}" | ||
@docker build --rm --force-rm -t ${IMAGE_NAME}:${GLUU_VERSION}_${UNSTABLE_VERSION} . | ||
|
||
trivy-scan: | ||
@echo "[I] Scanning Docker image ${IMAGE_NAME}:${GLUU_VERSION}_${UNSTABLE_VERSION} using trivy" | ||
@trivy image ${IMAGE_NAME}:${GLUU_VERSION}_${UNSTABLE_VERSION} | ||
|
||
grype-scan: | ||
@echo "[I] Scanning Docker image ${IMAGE_NAME}:${GLUU_VERSION}_${UNSTABLE_VERSION} using grype" | ||
@grype -v ${IMAGE_NAME}:${GLUU_VERSION}_${UNSTABLE_VERSION} |