Skip to content

fix: provide separate nonroot image#2723

Merged
kzantow merged 1 commit intoanchore:mainfrom
kzantow-anchore:fix/separate-nonroot-image
Jun 11, 2025
Merged

fix: provide separate nonroot image#2723
kzantow merged 1 commit intoanchore:mainfrom
kzantow-anchore:fix/separate-nonroot-image

Conversation

@kzantow
Copy link
Copy Markdown
Contributor

@kzantow kzantow commented Jun 11, 2025

This PR reverts a change to use nonroot images by default, and provides an alternate nonroot set of tagged images. Using nonroot causes a number of issues causing users friction such as accessing and modifying the docker.sock and mount volumes.

NOTE: this will remove the :latest-<arch> tags, which I think shouldn't be used since we are providing multi-platform manifests, where an architecture can be selected using --platform, e.g. docker run --rm -it anchore/syft:latest --platform linux/amd64

Fixes: #2720, #2721

Signed-off-by: Keith Zantow <kzantow@gmail.com>
@kzantow kzantow linked an issue Jun 11, 2025 that may be closed by this pull request
Comment thread .goreleaser.yaml
- anchore/grype:{{.Tag}}-s390x

- name_template: anchore/grype:debug
- name_template: ghcr.io/anchore/grype:latest
Copy link
Copy Markdown
Contributor Author

@kzantow kzantow Jun 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reorganized this section to be similar to the order of the section above / and the analogous syft pr: anchore/syft#3998

@kzantow kzantow merged commit 85f5025 into anchore:main Jun 11, 2025
12 checks passed
@kzantow kzantow deleted the fix/separate-nonroot-image branch June 11, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nonroot can't load local docker image with docker socket bind "Harden Container Runtime with Non-Root User" breaks --output usage

2 participants