Load parent level context in docker build #26091
Unanswered
prasadKodeInCloud
asked this question in
Q&A
Replies: 3 comments
-
Managed to fix the issue mentioned above by changing the deploy docker file to include the Root level scope.
Now getting the error mentioned in here. |
Beta Was this translation helpful? Give feedback.
0 replies
-
fixed the above issue by excluding folders. In our case.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a repository in following structure and I need to run the Dockerfile in the web folder referring to the root level build context.
I can build the web docker successfully with following docker-compose config for example.
I could not find a way to do this in /deploy/cdk/bin/cdk.ts file with ecs
I can manually build the docker image in /deploy/cdk folder with following params.
docker build --build-arg MY_PARAM=123 --tag test_tag --file ../../web/Dockerfile ../../
I assume this is due the fix introduced in here for the issue reported in here. Now the context is always '.' as I can see.
Need an optional parameter for context to override the default value in this case if I am not wrong.
Beta Was this translation helpful? Give feedback.
All reactions