-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Priya Wadhwa
committed
Mar 26, 2018
1 parent
0787a93
commit a5a84ed
Showing
2 changed files
with
41 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
FROM gcr.io/google-appengine/debian9:latest | ||
COPY context/foo foo | ||
WORKDIR /test | ||
WORKDIR workdir | ||
COPY context/foo . | ||
RUN cp foo newfoo | ||
# Test that this will be appended on to the previous command, to create /test/workdir | ||
WORKDIR workdir | ||
COPY context/foo ./currentfoo | ||
# Test that the RUN command will happen in the correct directory | ||
RUN cp currentfoo newfoo | ||
WORKDIR /new/dir | ||
ENV dir /another/new/dir | ||
WORKDIR $dir/newdir | ||
WORKDIR $dir/$doesntexist | ||
WORKDIR / |
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