Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Closes: #1181 Approved by: vrothberg
- Loading branch information
1 parent
9c1d273
commit 0d2dc14
Showing
8 changed files
with
175 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FROM php:7.2 | ||
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer |
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,5 @@ | ||
FROM scratch | ||
COPY Dockerfile.index / | ||
|
||
FROM alpine | ||
COPY --from=0 /Dockerfile.index /Dockerfile.index |
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,13 @@ | ||
FROM scratch as myname | ||
COPY Dockerfile.name / | ||
|
||
FROM scratch as myname2 | ||
COPY Dockerfile.index / | ||
|
||
FROM scratch | ||
COPY Dockerfile.mixed / | ||
|
||
FROM scratch | ||
COPY --from=myname /Dockerfile.name /Dockerfile.name | ||
COPY --from=1 /Dockerfile.index /Dockerfile.index | ||
COPY --from=2 /Dockerfile.mixed /Dockerfile.mixed |
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,5 @@ | ||
FROM alpine as myname | ||
COPY Dockerfile.name / | ||
|
||
FROM scratch | ||
COPY --from=myname /Dockerfile.name /Dockerfile.name |
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,4 @@ | ||
FROM alpine as myname | ||
FROM alpine AS myname | ||
COPY Dockerfile.name / | ||
|
||
FROM scratch | ||
|