Skip to content

Commit

Permalink
test: tweak itest for cross-arch manifest handline
Browse files Browse the repository at this point in the history
We now need a real bootable container because
internal/containers/containers tries to mount the container
and fails if it's just a FROM scratch container.
  • Loading branch information
kingsleyzissou authored and mvo5 committed Apr 26, 2024
1 parent 20f9713 commit 689d046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_manifest_cross_arch_check(tmp_path, build_container):
cntf_path = tmp_path / "Containerfile"
cntf_path.write_text(textwrap.dedent("""\n
# build for x86_64 only
FROM scratch
FROM quay.io/centos-bootc/centos-bootc:stream9
"""), encoding="utf8")

with make_container(tmp_path, arch="x86_64") as container_tag:
Expand Down

0 comments on commit 689d046

Please sign in to comment.