medium10 pts · first answer countskubernetesdocker
Build ARG missing at runtime
A Dockerfile has `ARG APP_VERSION` and is built with `--build-arg APP_VERSION=2.3.1`. The app reads APP_VERSION from its environment when it runs and finds it empty. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Ordering Dockerfile steps for cachingDevOps Engineer
- Image vs containerDevOps Engineer
- Smallest unit in KubernetesDevOps Engineer
- Why use a .dockerignore fileDevOps Engineer
- Container exits right after startDevOps Engineer
- Deployment and ReplicaSetDevOps Engineer
- Logs from a crashed containerDevOps Engineer
- Are Kubernetes Secrets encryptedDevOps Engineer