devcontainers: "ENOENT: no such file or directory" when trying to build Laravel Sail container #10085
Labels
containers
Issue in vscode-remote containers
info-needed
Issue requires more information from poster
Steps to Reproduce:
curl -s "https://laravel.build/example-app?with=mariadb,mailpit&devcontainer" | bash
There is no problem when trying either
./vendor/bin/sail up
or using the devcontainers/cli and runningdevcontainer build --workspace-folder .
remoteContainers-2024-07-20T16-47-32.155Z.log
The problem seems to be with the relative path of the context property in
docker-compose.yml
. It doesn't use the project root path but the path from the extension. This used to work correctly in previous versions of vscode and the remote extension. I tested it in vscode-insiders and it still doesn't work. I also tested both with docker-compose and docker with builderx and got the same error message.The text was updated successfully, but these errors were encountered: