Closed Avin-Mathew closed 4 months ago
Make sure you’re uppercasing any keywords in the Dockerfile: FROM python:3.10 AS requirements-stage
. Capitalizing AS should hopefully fix the error.
@danegsta no it does't, still the same.
Can you make sure you don’t have any extra Dockerfile linter extensions installed? That error looks like it may be coming from a different extension, dockerfile-validator
.
yes you were right it was from the extension dockerfile-validator, thanks for the replies.
I am using a dockerfile with multi-stage build, I am getting what I believe is a false warning for the line
in this the first line "FROM python:3.10 as requirements-stage" shows the error
[dockerfile-validator] Invalid parameters for command.: "FROM python:3.10 as requirements-stage" https://docs.docker.com/engine/reference/builder/