ecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV…
Jump to turn (7)
- 1ecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV
- 2And why don't we have like a make file or something to make sure that we don't p
- 3Um, why don't you push main? Push it to main. Why are you pushing into different
- 4Last login: Sat May 2 18:56:41 on ttys022 userc042661f@Peters-Laptop banodoco-we
- 5Why is this happening?
- 6k
- 7What's happening?
- User
ecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "VITE_SUPABASE_ANON_KEY") (line 22)(https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/) details: Sensitive data should not be used in the ARG or ENV commands
build FROM docker.io/library/node:20.19.0-alpine@sha256:8bda036ddd59ea51a23bc1a1035d3b5c614e72c01366d989f4120e8adca196d4 10ms
internal load build context 0ms
build COPY vendor ./vendor cached 0ms
build COPY package.json package-lock.json ./ cached 0ms
build WORKDIR /app cached 0ms
build RUN npm ci --no-audit --no-fund 1s npm error A comp
- Assistant
I’ll inspect the repo entry instructions and the Docker build path causing the secret lint failure, then patch the Dockerfile in the smallest way that preserves the build behavior.