forked from containers/buildah
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We recently made a couple of commits to the imagebuilder project to address containers#2345 and containers#2192. Tests were created in that project, but I thought it best to add some regression tests here in Buildah too. FYI: @petr-motejlek and @tachoknight Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
- Loading branch information
1 parent
9fd14e6
commit feb1833
Showing
3 changed files
with
27 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM ubuntu:latest | ||
|
||
ENV MYUSER=myuser | ||
|
||
RUN useradd --create-home --home /"${MYUSER}" "${MYUSER}" | ||
COPY --chown="${MYUSER}" ./copychown.txt /somewhere | ||
|
||
RUN ls -alF /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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM centos:8 | ||
ARG FOO=bar | ||
ARG WEBROOT=https://example.org/ | ||
|
||
ENV WEBROOT="$WEBROOT$FOO" | ||
|
||
RUN echo "${WEBROOT}" |