You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example apps are templates people copy. examples/petstore/Dockerfile and examples/petstore-access-control/Dockerfile copy the whole directory (COPY ./ /app), and their .dockerignore files only list /data (and /chart), so a local .env or config overlay ends up in the image.
What?
Use allowlist .dockerignore files (* plus the needed files) or named COPYs in the examples, like the base image.
Acceptance criteria
Images built from the examples contain no .env* or overlay files from the working copy.
Activity