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 text was updated successfully, but these errors were encountered:
ShauryaAg
changed the title
bug: Cannot recognise boolean arguments in Dockerfile
bug: Cannot recognise bash-style arguments in Dockerfile
Dec 22, 2022
devcontainer cli is unable to parse bash-style arguments, that is, arguments of type
${arg1:+"something"}
For example:
When using the below
Dockerfile
The output after parsing should be, if the value
cloud
ARG is set:FROM my.exr.repo/myimage:tag
and otherwise should be:
FROM myimage:tag
However,
devcontainer
cli throws an error that it cannot parse the above mentionedDockerfile
In the above run, the value of
cloud
argument was set to1
, hence it outputted1:+
, which is not the expected result.devcontainer cli version: 0.25.2
Reference:
The text was updated successfully, but these errors were encountered: