-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create multi-layer docker files (#903)
* Create multi-layer docker files This commit improves our docker file generation in order to use multiple layers for dependencies. Instead of having a single libs directory, we now have 3 layers which are copied to the `libs` directory: - one for the transitive dependencies which are not snapshot - one for the snapshot dependencies - one for the project dependencies In addition to the layer which contains the application jar. Moreover, the dockerfile creation now makes use of the `--link` option for COPY, which makes it even more efficient. Fixes #735 * Use `--link` for all COPY operations * Fix CRaC docker files * Disable `--link` by default As this is causing some flakiness on CI, it could probably cause flakiness on user builds too. * Do not use COPY for empty layers * Restore --link by default Since it wasn't at fault when running builds on CI. * Restore lenient(false)
- Loading branch information
Showing
23 changed files
with
526 additions
and
128 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
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
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
Oops, something went wrong.