Skip to content

Commit

Permalink
the build needs jq (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavin-stackrox authored Aug 10, 2022
1 parent b00ffc5 commit ff490a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion images/stackrox-build.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN dnf update -y && \
dnf install -y \
bzip2-devel \
git-core \
jq \
libzstd-devel \
lz4-devel \
nodejs \
Expand Down Expand Up @@ -51,13 +52,15 @@ ARG FETCH_VERSION=0.3.5
ARG FETCH_SHA256=8d4d99e903b30dbd24290e9a056a982ea2326a05ded24c63be64df16e7e0d9f0
RUN wget --no-verbose -O fetch https://github.com/gruntwork-io/fetch/releases/download/v${FETCH_VERSION}/fetch_linux_amd64 && \
echo "${FETCH_SHA256} fetch" | sha256sum -c - && \
install fetch /usr/bin
install fetch /usr/bin && \
rm fetch

ARG OSSLS_VERSION=0.10.1
ARG OSSLS_SHA256=afdec2fa63b27ced4aeb3297399d45b0f06861e6ebc8cb2431b9653b7f113320
RUN fetch --repo="https://github.com/stackrox/ossls" --tag="${OSSLS_VERSION}" --release-asset="ossls_linux_amd64" . && \
echo "${OSSLS_SHA256} *ossls_linux_amd64" | sha256sum -c - && \
install ossls_linux_amd64 /usr/bin/ossls && \
rm ossls_linux_amd64 && \
ossls version

COPY --from=builder /tmp/rocksdb/librocksdb.a /lib/rocksdb/librocksdb.a
Expand Down
1 change: 0 additions & 1 deletion images/stackrox-test.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ RUN dnf update -y && \
google-cloud-sdk \
google-cloud-sdk-gke-gcloud-auth-plugin \
java-1.8.0-openjdk-devel \
jq \
kubectl \
lsof \
lz4 \
Expand Down

0 comments on commit ff490a2

Please sign in to comment.