File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change
1
+ # ------------------------------------------------------------------------------
2
+ # trivy to generate SBOM
3
+ # ------------------------------------------------------------------------------
4
+ FROM ghcr.io/aquasecurity/trivy:latest AS trivy
5
+
6
+ RUN \
7
+ trivy image --format spdx-json --output /container.json denoland/deno
8
+
9
+ # ------------------------------------------------------------------------------
10
+ # prod
11
+ # ------------------------------------------------------------------------------
1
12
FROM denoland/deno
2
- LABEL version="v20250117 "
13
+ LABEL version="v20250313 "
3
14
4
15
WORKDIR /app
5
16
6
17
COPY src/config.ts src/context.ts src/adapter.ts /app/
7
18
RUN deno cache /app/adapter.ts
8
19
20
+ COPY --from=trivy /container.json /sbom/container.json
21
+ RUN deno info /app/adapter.ts --json > /sbom/application-dependencies.json
22
+
9
23
ENV KEYCLOAK_ORIGIN "https://ucs-sso-ng.mydomain.corp"
10
24
ENV KEYCLOAK_ORIGIN_INTERNAL ""
11
25
ENV KEYCLOAK_REALM "ucs"
You can’t perform that action at this time.
0 commit comments