Skip to content

lint: Add missing docker.io prefix to ci/lint_imagefile#30501

Merged
fanquake merged 2 commits intobitcoin:masterfrom
maflcko:2407-lint-fixes
Jul 22, 2024
Merged

lint: Add missing docker.io prefix to ci/lint_imagefile#30501
fanquake merged 2 commits intobitcoin:masterfrom
maflcko:2407-lint-fixes

Conversation

@maflcko
Copy link
Copy Markdown
Member

@maflcko maflcko commented Jul 22, 2024

Currently, the ci/lint_imagefile may pick the wrong (non-native) architecture due to the missing prefix.

For example, assuming the user has previously pulled an s390x image:

$ podman run --rm 'docker.io/s390x/debian:bookworm' dpkg --print-architecture
exec /usr/bin/dpkg: exec format error

Now, debian:bookworm will refer to the same image:

$ podman run --rm 'debian:bookworm' dpkg --print-architecture
exec /usr/bin/dpkg: exec format error

However, docker.io/debian:bookworm works fine:

 $ podman run --rm 'docker.io/debian:bookworm' dpkg --print-architecture
arm64

(Also includes a nit-fix from #30499 (comment))

MarcoFalke added 2 commits July 22, 2024 17:27
@DrahtBot
Copy link
Copy Markdown
Contributor

DrahtBot commented Jul 22, 2024

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK paplorinc, hebasto

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@DrahtBot DrahtBot changed the title lint: Add missing docker.io prefix to ci/lint_imagefile lint: Add missing docker.io prefix to ci/lint_imagefile Jul 22, 2024
@DrahtBot DrahtBot added the Tests label Jul 22, 2024
Copy link
Copy Markdown
Contributor

@l0rinc l0rinc left a comment

Choose a reason for hiding this comment

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

utACK fa7bee1

Thanks!

Copy link
Copy Markdown
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

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

ACK fa7bee1.

@fanquake fanquake merged commit 038730a into bitcoin:master Jul 22, 2024
@maflcko maflcko deleted the 2407-lint-fixes branch July 23, 2024 06:29
@bitcoin bitcoin locked and limited conversation to collaborators Jul 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants