-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
145b352
commit 693ca99
Showing
1 changed file
with
3 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,6 @@ FROM $TOFU_IMAGE as tofu | |
FROM $HARNESS_BASE_IMAGE as final | ||
Check warning Code scanning / Trivy ':latest' tag used Medium
Artifact: dockerfiles/harness/opentofu.Dockerfile
Type: dockerfile Vulnerability DS001 Severity: MEDIUM Message: Specify a tag in the 'FROM' statement for image 'harness-base' Link: DS001 Check warning Code scanning / Trivy ':latest' tag used Medium
Artifact: dockerfiles/harness/opentofu.Dockerfile
Type: dockerfile Vulnerability DS001 Severity: MEDIUM Message: Specify a tag in the 'FROM' statement for image 'sha-1eca71e' Link: DS001 |
||
|
||
COPY --from=tofu /usr/local/bin/tofu /bin/terraform | ||
|
||
# Switch to the non-root user | ||
USER 65532:65532 |