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
Anything else we need to know?
The log when I first run the simple example and then the feature example.
PS C:\Utveckling\devpod\examples> devpod up simple
16:37:29 info Creating devcontainer...
16:37:30 info Inspecting image mcr.microsoft.com/vscode/devcontainers/python:0-3
16:37:30 info ff4d7b254529e78dc12aba227909f9a69f5be7eb744f6316f539ac58a4024e0e
16:37:32 info Setup container...
16:37:34 info Chown workspace...
16:37:34 info Run 'ssh simple.devpod' to ssh into the devcontainer
PS C:\Utveckling\devpod\examples> devpod up feature
16:37:48 info Creating devcontainer...
16:37:50 info Build with docker buildx...
16:37:51 info #0 building with "desktop-linux" instance using docker driver
16:37:51 info
16:37:51 info #1 [internal] load build definition from Dockerfile-with-features
16:37:51 info #1 transferring dockerfile: 767B done
16:37:51 info #1 DONE 0.0s
16:37:51 info
16:37:51 info #2 resolve image config for docker-image://docker.io/docker/dockerfile:1.4
16:37:51 info #2 ...
16:37:51 info
16:37:51 info #3 [auth] docker/dockerfile:pull token for registry-1.docker.io
16:37:51 info #3 DONE 0.0s
16:37:51 info
16:37:51 info #2 resolve image config for docker-image://docker.io/docker/dockerfile:1.4
16:37:52 info #2 DONE 1.3s
16:37:52 info
16:37:52 info #4 docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc
16:37:52 info #4 CACHED
16:37:52 info
16:37:52 info #5 [internal] load .dockerignore
16:37:52 info #5 transferring context: 2B done
16:37:52 info #5 DONE 0.0s
16:37:52 info
16:37:52 info #6 [internal] load metadata for docker.io/library/ubuntu:latest
16:37:52 info #6 ...
16:37:52 info
16:37:52 info #7 [auth] library/ubuntu:pull token for registry-1.docker.io
16:37:52 info #7 DONE 0.0s
16:37:53 info
16:37:53 info #6 [internal] load metadata for docker.io/library/ubuntu:latest
16:37:54 info #6 DONE 1.9s
16:37:54 info
16:37:54 info #8 [internal] load build context
16:37:54 info #8 transferring context: 2.11kB done
16:37:54 info #8 DONE 0.0s
16:37:54 info
16:37:54 info #9 [1/5] FROM docker.io/library/ubuntu@sha256:8a37d68f4f73ebf3d4efafbcf66379bf3728902a8038616808f04e34a9ab63ee
16:37:54 info #9 resolve docker.io/library/ubuntu@sha256:8a37d68f4f73ebf3d4efafbcf66379bf3728902a8038616808f04e34a9ab63ee 0.0s done
16:37:54 info #9 sha256:8a37d68f4f73ebf3d4efafbcf66379bf3728902a8038616808f04e34a9ab63ee 1.34kB / 1.34kB done
16:37:54 info #9 sha256:d35dfc2fe3ef66bcc085ca00d3152b482e6cafb23cdda1864154caf3b19094ba 424B / 424B done
16:37:54 info #9 sha256:edbfe74c41f8a3501ce542e137cf28ea04dd03e6df8c9d66519b6ad761c2598a 2.30kB / 2.30kB done
16:37:54 info #9 sha256:31e907dcc94a592a57796786399eb004dcbba714389fa615f5efa05a91316356 0B / 29.71MB 0.1s
16:37:54 info #9 sha256:31e907dcc94a592a57796786399eb004dcbba714389fa615f5efa05a91316356 9.44MB / 29.71MB 0.4s
16:37:54 info #9 sha256:31e907dcc94a592a57796786399eb004dcbba714389fa615f5efa05a91316356 17.83MB / 29.71MB 0.6s
16:37:54 info #9 sha256:31e907dcc94a592a57796786399eb004dcbba714389fa615f5efa05a91316356 26.21MB / 29.71MB 0.8s
16:37:55 info #9 sha256:31e907dcc94a592a57796786399eb004dcbba714389fa615f5efa05a91316356 29.71MB / 29.71MB 0.9s done
16:37:55 info #9 extracting sha256:31e907dcc94a592a57796786399eb004dcbba714389fa615f5efa05a91316356
16:37:56 info #9 extracting sha256:31e907dcc94a592a57796786399eb004dcbba714389fa615f5efa05a91316356 0.8s done
16:37:56 info #9 DONE 1.9s
16:37:56 info
16:37:56 info #10 [2/5] COPY ./.devpod-internal/ /tmp/build-features/
16:37:56 info #10 DONE 0.1s
16:37:56 info
16:37:56 info #11 [3/5] RUN chmod -R 0755 /tmp/build-features && ls /tmp/build-features
16:37:56 info #11 0.235 0
16:37:56 info #11 0.235 Dockerfile-with-features
16:37:56 info #11 0.235 devcontainer-features.builtin.env
16:37:56 info #11 DONE 0.3s
16:37:56 info
16:37:56 info #12 [4/5] RUN echo "_CONTAINER_USER_HOME=$(getent passwd root | cut -d: -f6)" >> /tmp/build-features/devcontainer-features.builtin.env && echo "_REMOTE_USER_HOME=$(getent passwd root | cut -d: -f6)" >> /tmp/build-features/devcontainer-features.builtin.env
16:37:56 info #12 DONE 0.4s
16:37:56 info
16:37:57 info #13 [5/5] RUN cd /tmp/build-features/0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh
16:37:57 info #13 0.514 ===========================================================================
16:37:57 info #13 0.514 Feature : A feature
16:37:57 info #13 0.514 Description : A feature.
16:37:57 info #13 0.514 Id : ./afeature
16:37:57 info #13 0.514 Version : 1.0.0
16:37:57 info #13 0.514 Documentation :
16:37:57 info #13 0.514 Options :
16:37:57 info #13 0.514
16:37:57 info #13 0.514 Environment :
16:37:57 info #13 0.514 HOME=/root
16:37:57 info #13 0.514 OLDPWD=/
16:37:57 info #13 0.514 _CONTAINER_USER=root
16:37:57 info #13 0.514 _CONTAINER_USER_HOME=/root
16:37:57 info #13 0.514 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
16:37:57 info #13 0.514 _REMOTE_USER=root
16:37:57 info #13 0.514 PWD=/tmp/build-features/0
16:37:57 info #13 0.514 _REMOTE_USER_HOME=/root
16:37:57 info #13 0.514 ===========================================================================
16:37:57 info #13 0.517 ./devcontainer-features-install.sh: 30: ./install.sh: not found
16:37:57 info #13 0.517 ERROR: Feature "A feature" (./afeature) failed to install!
16:37:57 info #13 ERROR: process "/bin/sh -c cd /tmp/build-features/0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh" did not complete successfully: exit code: 127
16:37:57 info ------
16:37:57 info > [5/5] RUN cd /tmp/build-features/0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh:
16:37:57 info 0.514 OLDPWD=/
16:37:57 info 0.514 _CONTAINER_USER=root
16:37:57 info 0.514 _CONTAINER_USER_HOME=/root
16:37:57 info 0.514 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
16:37:57 info 0.514 _REMOTE_USER=root
16:37:57 info 0.514 PWD=/tmp/build-features/0
16:37:57 info 0.514 _REMOTE_USER_HOME=/root
16:37:57 info 0.514 ===========================================================================
16:37:57 info 0.517 ./devcontainer-features-install.sh: 30: ./install.sh: not found
16:37:57 info 0.517 ERROR: Feature "A feature" (./afeature) failed to install!
16:37:57 info ------
16:37:57 info Dockerfile-with-features:17
16:37:57 info --------------------
16:37:57 info 16 |
16:37:57 info 17 | >>> RUN cd /tmp/build-features/0 \
16:37:57 info devcontainer up: build image: buildx build: build image: exit status 1
16:37:57 info exit status 1
16:37:57 error Try using the --debug flag to see a more verbose output
16:37:57 fatal run agent command: Process exited with status 1
The text was updated successfully, but these errors were encountered:
Hi @MartinAskestad thanks for raising this. I currently don't have a windows machine but will be prep'ing a VM to reproduce this and will get back to you soon :)
What happened?
I'm getting an error message saying that
install.sh
is missing when starting a devpod with a local feature on Windows 11.What did you expect to happen instead?
The devpod starts normally.
How can we reproduce the bug? (as minimally and precisely as possible)
My
devcontainer.json
:Local Environment:
DevPod Provider:
Anything else we need to know?
The log when I first run the
simple
example and then thefeature
example.The text was updated successfully, but these errors were encountered: