forked from tern-tools/tern
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build multistage dockerfile by stage
This commit adds two functions to implement building a multistage dockerfile to get its images by the stages. 1. get_multistage_image_dockerfiles() at tern\analyze\docker\dockerfile.py: This function splits a multistage dockerfile into dockerfiles by its stage for build. 2. build_multistage() at tern\analyze\docker\run.py: This functions builds a multistage dockerfile to get the images for analyze. So far we can build the dockerfile and the further jobs like analyze and clean up are implement by other commits. Works towards tern-tools#612. Signed-off-by: WangJL <hazard15020@gmail.com>
- Loading branch information
1 parent
98948d5
commit 2bcb98d
Showing
2 changed files
with
62 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