buildah/tests/bud/copy-chown
Ed Santiago 3ad0fd1ed1 CI: use local registry, part 2 of 2
Make tests pass when using a local cache registry (as triggered
by $CI_USE_REGISTRY_CACHE being non-empty).

Mostly just change images: consolidate to a smaller set, like,
replace the few instances of debian with ubuntu, use $SAFEIMAGE
where we can.

The most significant change was with some s1 (schema 1?) images.
Those exist on quay, but cannot be mirrored locally: the local
registry forbids schema 1 images. I choose to skip these tests
when running against a local registry.

Second most significant change is running containerized tests
with --net=host. We need this to access the registry running
on a localhost port. (One alternative would be to bind the
registry on all interfaces, cringe, then perform sed magic
on the registries-cache.conf file changing 127.0.0.1 to
host.containers.internal, more cringe).

Also, some cleanup.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-07-17 12:26:49 -06:00
..
Containerfile.chown_user CI: use local registry, part 2 of 2 2024-07-17 12:26:49 -06:00
Dockerfile Update copy chown test 2018-10-12 19:12:44 +00:00
Dockerfile.bad Handle missing equal sign in --from and --chown flags for COPY/ADD 2019-12-03 09:44:46 +00:00
Dockerfile.bad2 Chown with environment variables not set should fail 2021-07-20 05:16:38 -04:00
copychown.txt Handle COPY --chown in Dockerfile 2018-08-17 08:58:34 +00:00