daytonaio / daytona

The Open Source Dev Environment Manager.
https://daytona.io
Apache License 2.0
11.47k stars 845 forks source link

Quoted devcontainer variables are not interpolated #1360

Open Tpuljak opened 6 hours ago

Tpuljak commented 6 hours ago

I noticed when I have the variables in the single quotes, it doesn't get interpolated and there are only empty values.

"initializeCommand": ".devcontainer/gen-docker-compose-workspace-env.sh --container-workspace-folder '${containerWorkspaceFolder}' --local-workspace-folder '${localWorkspaceFolder}'"

This works though:

"initializeCommand": ".devcontainer/gen-docker-compose-workspace-env.sh --container-workspace-folder ${containerWorkspaceFolder} --local-workspace-folder ${localWorkspaceFolder}"

Is this the expected behaviour?

Originally posted by @johnnypea in https://github.com/daytonaio/daytona/issues/1353#issuecomment-2493835940