File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
2+ # trivy:ignore:DS026 - CLI tool runs and exits, HEALTHCHECK not applicable
23ARG BUILDER_IMAGE=maven:3.9.9-eclipse-temurin-17
34ARG RUNNER_IMAGE=eclipse-temurin:17
45
6+ # Builder stage runs as root; runner stage uses non-root user
7+ # trivy:ignore:DS029
58FROM ${BUILDER_IMAGE} AS builder
9+ # trivy:ignore:DS029
610RUN apt-get update && apt-get install -y unzip
711COPY ./target/*oscal-cli.zip /tmp/oscal-cli.zip
812WORKDIR /tmp
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
2+ # trivy:ignore:DS026 - CLI tool runs and exits, HEALTHCHECK not applicable
23ARG BUILDER_IMAGE=maven:3.9.9-eclipse-temurin-17
34ARG RUNNER_IMAGE=eclipse-temurin:17
45
6+ # Builder stage runs as root; runner stage uses non-root user
7+ # trivy:ignore:DS029
58FROM ${BUILDER_IMAGE} AS builder
69ARG BUILDER_JDK_VENDOR=temurin
710ARG BUILDER_JDK_MAJOR_VERSION=17
811ARG BUILDER_JDK_HOME_PATH=/opt/java/openjdk
12+ # trivy:ignore:DS005 - ADD used intentionally to copy entire build context
913ADD . /usr/local/src
1014WORKDIR /usr/local/src
15+ # trivy:ignore:DS029
1116RUN apt-get update && apt-get install -y unzip
1217RUN <<EOF
1318mkdir -p /root/.m2
You can’t perform that action at this time.
0 commit comments