Open WymanSo opened 1 year ago
I think the problem might be that there does not seem to be a setting for "terminal.integrated.shell.windows": in VSCode any longer and (at least for me) it's trying to use powershell to run build.sh. I changed the defaulit profile to bash(wsl) but it didn't help. A workaround could be to clone the repo inside wsl and trying to open the folder in VScode using \wsl path causes it to switch to wsl, THEN it tries to switch to docker, which gets farther. Trying it now, will update. [update] Seems hung on step 5/6 (or can't start 6). No containers running.
Build issue(s)
2.now I download the whole project and load into the VS code, then the VS tell me install the extension "Dev containers". the installation is ok, next then build the image for docker. but always get the fault message. the partial logs as below:
Platform
vscode, windows
Anything else?
[6891 ms] Start: Run: /bin/sh -c .devcontainer/build.sh --tag matter-dev-environment:local --version 1 [+] Building 2.5s (7/9) docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 3.29kB 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for ghcr.io/project-chip/chip-build-vscode:1 2.3s => [1/6] FROM ghcr.io/project-chip/chip-build-vscode:1@sha256:c8a177b97e 0.0s => CACHED [2/6] RUN apt-get update && apt-get install -y locales 0.0s => CACHED [3/6] RUN groupadd -g 1000 vscode && useradd -s /bin/bash 0.0s => ERROR [4/6] RUN curl https://raw.githubusercontent.com/restyled-io/re 0.2s