Replies: 4 comments 5 replies
-
Can you please say what you are trying to accomplish? You could do it with a |
Beta Was this translation helpful? Give feedback.
-
I'm trying to pass some values from .env file to a Dockerfile as arguments so I could use them during the building process. |
Beta Was this translation helpful? Give feedback.
-
Can you please say what you're trying to accomplish. What are you doing with your .ddev/web-build/Dockerfile and why does it need extra args? (I'm not sure whether you can use args from a .env this way, but I'm sure you'll find out.) So you would in your docker-compose.args.yaml: services:
web:
build:
args:
something: 'xxx'
somethingelse: 'yyy' And you'e experiment with using your env vars there. |
Beta Was this translation helpful? Give feedback.
-
I need to pass a few private credentials to Dockerfile from |
Beta Was this translation helpful? Give feedback.
-
I looked through entire documentation, but could not find an answer to this: is there a way to define custom build arguments for web or db images, so they would appear in
.ddev-docker-compose-full.yaml
? If yes, then what is the proper way of doing that?Beta Was this translation helpful? Give feedback.
All reactions