File tree 6 files changed +13
-13
lines changed
6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 18
18
targets :
19
19
- fedora-all-x86_64
20
20
- fedora-all-aarch64
21
- - fedora-eln-x86_64
22
- - fedora-eln-aarch64
23
- - centos-stream+epel-next-8-x86_64
24
- - centos-stream+epel-next-8-aarch64
25
- - centos-stream+epel-next-9-x86_64
26
- - centos-stream+epel-next-9-aarch64
27
21
additional_repos :
28
22
- " copr://rhcontainerbot/podman-next"
29
23
Original file line number Diff line number Diff line change 329
329
}
330
330
331
331
@test " bud build with heredoc content" {
332
+ _prefetch quay.io/fedora/python-311
332
333
run_buildah build -t heredoc $WITH_POLICY_JSON -f $BUDFILES /heredoc/Containerfile .
333
334
expect_output --substring " print first line from heredoc"
334
335
expect_output --substring " print second line from heredoc"
@@ -4453,15 +4454,17 @@ EOM
4453
4454
}
4454
4455
4455
4456
@test " bud arg and env var with same name" {
4457
+ _prefetch busybox
4456
4458
# Regression test for https://github.com/containers/buildah/issues/2345
4457
4459
run_buildah build $WITH_POLICY_JSON -t testctr $BUDFILES /dupe-arg-env-name
4458
4460
expect_output --substring " https://example.org/bar"
4459
4461
}
4460
4462
4461
4463
@test " bud copy chown with newuser" {
4464
+ _prefetch quay.io/fedora/fedora
4462
4465
# Regression test for https://github.com/containers/buildah/issues/2192
4463
4466
run_buildah build $WITH_POLICY_JSON -t testctr -f $BUDFILES /copy-chown/Containerfile.chown_user $BUDFILES /copy-chown
4464
- expect_output --substring " myuser myuser"
4467
+ expect_output --substring " myuser: myuser"
4465
4468
}
4466
4469
4467
4470
@test " bud-builder-identity" {
Original file line number Diff line number Diff line change 1
- FROM fedora as builder
1
+ # "fedora" is replaced as the base image at test-time using the --from flag
2
+ FROM fedora as builder
2
3
FROM busybox
3
4
COPY --from=builder /bin/df /tmp/df_tester
4
5
Original file line number Diff line number Diff line change 1
- FROM ubuntu:latest
1
+ FROM quay.io/fedora/fedora
2
2
3
3
ENV MYUSER=myuser
4
-
5
4
RUN useradd --create-home --home /"${MYUSER}" "${MYUSER}"
6
5
COPY --chown="${MYUSER}" ./copychown.txt /somewhere
7
6
8
- RUN ls -alF /somewhere
7
+ RUN stat -c "%U:%G" /somewhere
Original file line number Diff line number Diff line change 1
- FROM centos:8
1
+ FROM busybox
2
2
ARG FOO=bar
3
3
ARG WEBROOT=https://example.org/
4
4
Original file line number Diff line number Diff line change 1
- FROM fedora
1
+ FROM quay.io/fedora/python-311
2
+
3
+ USER root
4
+ WORKDIR /
2
5
3
6
RUN <<EOF
4
7
echo "print first line from heredoc"
You can’t perform that action at this time.
0 commit comments