Add Dockerfile templating capability#4
Open
kpalang wants to merge 3 commits intoOpenIntegrationEngine:mainfrom
Open
Add Dockerfile templating capability#4kpalang wants to merge 3 commits intoOpenIntegrationEngine:mainfrom
kpalang wants to merge 3 commits intoOpenIntegrationEngine:mainfrom
Conversation
Signed-off-by: Kaur Palang <kaur.palang@brightcodecompany.com>
Signed-off-by: Kaur Palang <kaur.palang@brightcodecompany.com>
889a82d to
4ed4d20
Compare
Signed-off-by: Kaur Palang <kaur.palang@brightcodecompany.com>
4ed4d20 to
ea559ac
Compare
Contributor
|
Can you show some other projects that use this same strategy? |
Contributor
Author
The official postgres image uses template rendering, although not with |
Contributor
Author
|
Adding this to leave a trace behind, good conversation going on in this thread in Discord. |
Closed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds templating capabilities to render a
Dockerfileand an accompanyingcompose.yamlfor each OIE release.To render the files ensure you have installed
gomplate. Then run the./render_docker_images.shscript from repository root.To build the images, run the following command from repo root, replacing the
4.5.2-tp.1with your desired version number.docker compose -f dockerfiles/4.5.2-tp.1/compose.yaml build --build-arg CREATED_AT=$(date -u +"%Y-%m-%dT%H:%M:%SZ")