We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8f2940 commit ee7309aCopy full SHA for ee7309a
ci/docker/os-image-stemcell-builder/Dockerfile
@@ -7,6 +7,7 @@ LABEL maintainer="[email protected]"
7
ARG USER_ID=1000
8
ARG GROUP_ID=1000
9
ARG DEBIAN_FRONTEND=noninteractive # prevents s3cmd dpkg install asking TZ info
10
+ARG SYFT_VERSION
11
12
RUN \
13
apt-get update \
@@ -53,6 +54,11 @@ RUN \
53
54
xvfb \
55
&& apt-get clean
56
57
+# Install syft
58
+RUN curl -sL https://github.com/anchore/syft/releases/download/${SYFT_VERSION}/syft_${SYFT_VERSION#v}_linux_amd64.tar.gz \
59
+ | tar -xz -C /usr/local/bin/ syft \
60
+ && chmod +x /usr/local/bin/syft
61
+
62
# Install yq
63
RUN wget -O /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 \
64
&& chmod +x /usr/local/bin/yq
0 commit comments