-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't require file to exist in container for copy operation to comple…
…te successfully <layers>/generated/build isn't guaranteed to exist Signed-off-by: Natalie Arellano <narellano@vmware.com>
- Loading branch information
1 parent
d9b7132
commit 1ba8367
Showing
5 changed files
with
55 additions
and
4 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
11 changes: 11 additions & 0 deletions
11
acceptance/testdata/mock_buildpacks/0.2/read-env-extension/bin/generate
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,3 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "---> Generate: Read Env Extension" | ||
|
||
# 1. GET ARGS | ||
output_dir=$CNB_OUTPUT_DIR | ||
|
||
# 2. GENERATE build.Dockerfile | ||
cat >> "${output_dir}/build.Dockerfile" <<EOL | ||
ARG base_image | ||
FROM \${base_image} | ||
RUN echo "Hello World" | ||
EOL |
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