Skip to content

Commit 8c109ba

Browse files
committed
Install Sonobuoy in Dockerfile
Add Sonobuoy installation to Dockerfile with multi-architecture support. Signed-off-by: gerbsen <1186245+gerbsen@users.noreply.github.com> Use default build variables from docker
1 parent c8c44eb commit 8c109ba

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Tests/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ FROM python:3.10
44

55
WORKDIR /scs-compliance
66

7+
ARG SONOBUOY_VERSION=0.57.3
8+
ARG TARGETOS
9+
ARG TARGETARCH
10+
11+
RUN set -eux; \
12+
wget -qO- https://github.com/vmware-tanzu/sonobuoy/releases/download/v$SONOBUOY_VERSION/sonobuoy_${SONOBUOY_VERSION}_${TARGETOS}_${TARGETARCH}.tar.gz \
13+
| tar -xz -C /usr/local/bin; \
14+
chmod +x /usr/local/bin/sonobuoy
15+
716
COPY requirements.txt requirements.txt
817
COPY iaas/requirements.txt iaas-requirements.txt
918
COPY kaas/requirements.txt kaas-requirements.txt

0 commit comments

Comments
 (0)