Skip to content

docs(build): say which instructions the builder interpolates - #25840

Open
locker95 wants to merge 1 commit into
docker:mainfrom
locker95:docs/arg-env-substitution
Open

docs(build): say which instructions the builder interpolates#25840
locker95 wants to merge 1 commit into
docker:mainfrom
locker95:docs/arg-env-substitution

Conversation

@locker95

Copy link
Copy Markdown
Contributor

the variables page didn't say that RUN/CMD/ENTRYPOINT are expanded by the shell, or that FROM only sees ARG. that was tripping people up next to the Dockerfile reference.

see also docker/cli#3323

RUN/CMD/ENTRYPOINT are expanded by the shell, FROM only sees
ARG, and ENV vs ARG differ in whether the value persists.

Signed-off-by: Dean Chen <862469039@qq.com>
@locker95
locker95 requested a review from dvdksn as a code owner August 15, 2026 14:39
@netlify

netlify Bot commented Aug 15, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 382befc
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a807a29ef2a5b00082c9785
😎 Deploy Preview https://deploy-preview-25840--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the area/build Relates to Dockerfiles or docker build command label Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Relates to Dockerfiles or docker build command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant