-
Notifications
You must be signed in to change notification settings - Fork 785
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5816 from nalind/integration-base-images-1.33
[release-1.33] integration tests: switch some base images
- Loading branch information
Showing
6 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM fedora as builder | ||
# "fedora" is replaced as the base image at test-time using the --from flag | ||
FROM fedora as builder | ||
FROM busybox | ||
COPY --from=builder /bin/df /tmp/df_tester | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
FROM ubuntu:latest | ||
FROM quay.io/fedora/fedora | ||
|
||
ENV MYUSER=myuser | ||
|
||
RUN useradd --create-home --home /"${MYUSER}" "${MYUSER}" | ||
COPY --chown="${MYUSER}" ./copychown.txt /somewhere | ||
|
||
RUN ls -alF /somewhere | ||
RUN stat -c "%U:%G" /somewhere |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM centos:8 | ||
FROM busybox | ||
ARG FOO=bar | ||
ARG WEBROOT=https://example.org/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
FROM fedora | ||
FROM quay.io/fedora/python-311 | ||
|
||
USER root | ||
WORKDIR / | ||
|
||
RUN <<EOF | ||
echo "print first line from heredoc" | ||
|