Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 2fad38b

Browse files
committed
Avoid our own python
1 parent 3f1400b commit 2fad38b

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

tools/sbomdiff/Dockerfile.template

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22

33
ARG ref=main
44

5-
FROM ghcr.io/nicholasdille/docker-setup/python:${ref} AS python
5+
#FROM ghcr.io/nicholasdille/docker-setup/python:${ref} AS python
66
FROM ghcr.io/nicholasdille/docker-setup/shiv:${ref} AS shiv
77

88
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
9-
COPY --link --from=python / /
9+
#COPY --link --from=python / /
1010
COPY --link --from=shiv / /
11+
RUN <<EOF
12+
apt-get update
13+
apt-get -y install --no-install-recommends \
14+
python3-pip \
15+
python-is-python3
16+
EOF
1117
ARG name
1218
ARG version
1319
RUN <<EOF

tools/sbomdiff/manifest.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ name: sbomdiff
22
version: "0.5.1"
33
check: ${binary} --version
44
build_dependencies:
5-
- python
6-
- shiv
7-
runtime_dependencies:
8-
- python
5+
#- python
6+
- shiv
7+
#runtime_dependencies:
8+
#- python
99
platforms:
10-
- linux/amd64
11-
- linux/arm64
10+
- linux/amd64
11+
- linux/arm64
1212
tags:
13-
- category/security
14-
- lang/python
15-
- type/cli
16-
- sbom
13+
- category/security
14+
- lang/python
15+
- type/cli
16+
- sbom
1717
homepage: https://github.com/anthonyharrison/sbomdiff
1818
description: Compares two Software Bill of Materials (SBOMs) and reports the differences
1919
renovate:

0 commit comments

Comments
 (0)