Clone repository in container volume / docker compose / path to repository #4093
Labels
containers
Issue in vscode-remote containers
feature-request
Request for new features or functionality
plan-review
PM-highlighted item determined to be P1 or P2
Milestone
Problem:
dev
container anddocker-composer.yml
starting the container has no information about the path to/workspaces/xxxx
which is used to mount the cloned source code.devcontainer/lsyncd.conf:7
the directory should not be hard coded to/workspaces/xx
:source="/workspaces/vscode-remote-test-1",
use case
sync the mounted
/workspaces/xxxxx
from the dev container to other container with lsyncdsteps to reproduce
Clone repository in container volume
https://github.com/aheissenberger/vscode-remote-clone-repo-docker-compose
create a new volume every time - (currently only works with named volume
vscode-remote-test-1
with target directoryvscode-remote-test-1
- paths os hard coded!)the
.devcontainer
folder withdock-compose.yml
will start the dev container and a sample phpapache containerneed to provide the path to the mounted volume including the random subdirectory (e.g.
/workspaces/xxxxx
) to the dev container as an environment variableThe text was updated successfully, but these errors were encountered: