Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
ARG TARGETARCH=amd64
# docker CLI (client only) — lets the web UI source scan launch cdxgen language
# images as sibling containers via the mounted host socket (transitive deps).
# renovate: datasource=github-releases depName=docker/cli extractVersion=^v(?<version>.+)$
# renovate: datasource=github-tags depName=docker/cli extractVersion=^v(?<version>.+)$
ARG DOCKER_CLI_VERSION=27.5.1

# Firmware analysis (opt-in image `sbom-scanner-firmware`). GPL tools are isolated
Expand All @@ -72,12 +72,12 @@
# jq (helper scripts), curl/tar (installers), file (binary mode),
# git (web UI 'GitHub URL' ingestion: server.py clones into a temp source tree).
# python3 + pip are already in the python:3.12-slim base (web UI + scancode).
RUN apt-get update && apt-get install -y --no-install-recommends \

Check failure on line 75 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / Lint Scripts

DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
jq curl wget ca-certificates bash tar file git \
&& rm -rf /var/lib/apt/lists/*

# syft — image/binary/RootFS scanning (pinned)
RUN curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh \

Check failure on line 80 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / Lint Scripts

DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
| sh -s -- -b /usr/local/bin "${SYFT_VERSION}" \
&& syft version

Expand Down Expand Up @@ -142,7 +142,7 @@
# NOTE: the PyPI `binwalk` 2.x dist is broken (no binwalk.core), so it is NOT
# installed; unsquashfs covers the common squashfs case. vendor-modified
# (non-standard) squashfs still needs sasquatch added on top of this.
RUN if [ "$SBOM_FIRMWARE" = "true" ]; then \

Check failure on line 145 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / Lint Scripts

DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
apt-get update && apt-get install -y --no-install-recommends \
squashfs-tools e2fsprogs p7zip-full unar cpio cabextract \
lzop zstd lz4 liblzo2-2 zlib1g \
Expand Down
Loading