Skip to content

devcontainer fails #8

Closed
Closed

Description

@vangeest

The devcontainer fails when a codespace is started.
It still worked 3 weeks ago, it doesn't work today (29-1-2026)

Snippet of the devcontainer logfile

#7 [dev_containers_target_stage 2/5] RUN mkdir -p /tmp/dev-container-features
2026-01-29 15:18:29.122Z: #7 ...2026-01-29 15:18:29.122Z: 

#8 [dev_containers_feature_content_normalize 2/3] COPY --from=dev_containers_feature_content_source devcontainer-features.builtin.env /tmp/build-features/
#8 DONE 0.0s
2026-01-29 15:18:29.270Z: 
#9 [dev_containers_feature_content_normalize 3/3] RUN chmod -R 0755 /tmp/build-features/
2026-01-29 15:18:29.512Z: #9 DONE 0.5s2026-01-29 15:18:29.513Z: 

#7 [dev_containers_target_stage 2/5] RUN mkdir -p /tmp/dev-container-features
2026-01-29 15:18:29.706Z: #7 DONE 0.6s

#10 [dev_containers_target_stage 3/5] COPY --from=dev_containers_feature_content_normalize /tmp/build-features/ /tmp/dev-container-features
#10 DONE 0.0s

#11 [dev_containers_target_stage 4/5] RUN echo "_CONTAINER_USER_HOME=$( (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || ********) | cut -d: -f6)" >> /tmp/dev-container-features/devcontainer-features.builtin.env && echo "_REMOTE_USER_HOME=$( (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || ********) | cut -d: -f6)" >> /tmp/dev-container-features/devcontainer-features.builtin.env
2026-01-29 15:18:29.938Z: #11 DONE 0.4s
2026-01-29 15:18:30.083Z: 
#12 [dev_containers_target_stage 5/5] RUN --mount=type=bind,from=dev_containers_feature_content_source,source=desktop-lite_0,target=/tmp/build-features-src/desktop-lite_0     cp -ar /tmp/build-features-src/desktop-lite_0 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/desktop-lite_0  && cd /tmp/dev-container-features/desktop-lite_0  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/desktop-lite_0
2026-01-29 15:18:30.329Z: #12 0.413 ===========================================================================2026-01-29 15:18:30.329Z: 
#12 0.413 Feature       : Light-weight Desktop
2026-01-29 15:18:30.330Z: #12 0.413 Description   : Adds a lightweight Fluxbox based desktop to the container that can be accessed using a VNC viewer or the web. GUI-based commands executed from the built-in VS code terminal will open on the desktop automatically.
#12 0.413 Id            : ghcr.io/devcontainers/features/desktop-lite
#12 0.413 Version       : 1.2.8
#12 0.413 Documentation : ********/devcontainers/features/tree/main/src/desktop-lite
#12 0.413 Options       :
#12 0.413     VERSION="latest"2026-01-29 15:18:30.330Z: 
#12 0.413     NOVNCVERSION="1.6.0"
#12 0.413     PASSWORD="noPassword"
#12 0.413     WEBPORT="6080"
#12 0.413     VNCPORT="5901"
#12 0.413 ===========================================================================
2026-01-29 15:18:30.485Z: #12 0.448 find: '/var/lib/apt/lists/*': No such file or directory2026-01-29 15:18:30.485Z: 
#12 0.449 Running apt-get update...
#12 0.570 Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
2026-01-29 15:18:30.613Z: #12 0.582 Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
#12 0.582 Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
#12 0.673 Get:4 https://dl.yarnpkg.com/debian stable InRelease
2026-01-29 15:18:30.839Z: #12 0.682 Get:5 http://deb.debian.org/debian trixie/main amd64 Packages [9670 kB]
#12 0.744 Err:4 https://dl.yarnpkg.com/debian stable InRelease
#12 0.744   Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key FF7CB5667B542092084BBDC562D54FD4003F6525, which is needed to verify signature.
#12 0.772 Get:6 http://deb.debian.org/debian trixie-updates/main amd64 Packages [5412 B]
#12 0.773 Get:7 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [98.2 kB]
2026-01-29 15:18:31.483Z: #12 1.567 Reading package lists...2026-01-29 15:18:32.112Z: 
2026-01-29 15:18:32.277Z: #12 2.206 W: OpenPGP signature verification failed: https://dl.yarnpkg.com/debian stable InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key FF7CB5667B542092084BBDC562D54FD4003F6525, which is needed to verify signature.
#12 2.207 E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.
#12 2.210 ERROR: Feature "Light-weight Desktop" (ghcr.io/devcontainers/features/desktop-lite) failed to install! Look at the documentation at ********/devcontainers/features/tree/main/src/desktop-lite for help troubleshooting this error.
2026-01-29 15:18:32.527Z: #12 ERROR: process "/bin/sh -c cp -ar /tmp/build-features-src/desktop-lite_0 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/desktop-lite_0  && cd /tmp/dev-container-features/desktop-lite_0  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/desktop-lite_0" did not complete successfully: exit code: 100
2026-01-29 15:18:32.606Z: ------
 > [dev_containers_target_stage 5/5] RUN --mount=type=bind,from=dev_containers_feature_content_source,source=desktop-lite_0,target=/tmp/build-features-src/desktop-lite_0     cp -ar /tmp/build-features-src/desktop-lite_0 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/desktop-lite_0  && cd /tmp/dev-container-features/desktop-lite_0  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/desktop-lite_0:
0.673 Get:4 https://dl.yarnpkg.com/debian stable InRelease
0.682 Get:5 http://deb.debian.org/debian trixie/main amd64 Packages [9670 kB]
0.744 Err:4 https://dl.yarnpkg.com/debian stable InRelease
0.744   Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key FF7CB5667B542092084BBDC562D54FD4003F6525, which is needed to verify signature.
0.772 Get:6 http://deb.debian.org/debian trixie-updates/main amd64 Packages [5412 B]
0.773 Get:7 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [98.2 kB]

2.206 W: OpenPGP signature verification failed: https://dl.yarnpkg.com/debian stable InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key FF7CB5667B542092084BBDC562D54FD4003F6525, which is needed to verify signature.
2.207 E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.
2.210 ERROR: Feature "Light-weight Desktop" (ghcr.io/devcontainers/features/desktop-lite) failed to install! Look at the documentation at ********/devcontainers/features/tree/main/src/desktop-lite for help troubleshooting this error.
------

Activity

  1. vangeest commented on Jan 29, 2026

    @vangeest
    MemberAuthor

    This seems to be the same problem as
    mealie-recipes/mealie#6943

  2. vangeest commented on Jan 29, 2026

    @vangeest
    MemberAuthor

    The problem is that the yarn package fails to install as something is wrong with the verification key.
    The problem is decribed in yarnpkg/yarn#9218
    The solution on devcontainer is tracked in devcontainers/features#1547

  3. vangeest commented on Jan 30, 2026

    @vangeest
    MemberAuthor

    A hotfix for this repository is available at
    https://github.com/informaticascw/h4v4-python-game-template/tree/hotfix

    Only use this if you really need it. It will be removed as soon as a more permanent fix is provided downstream.

  4. vangeest commented on Jan 30, 2026

    @vangeest
    MemberAuthor

    Problem is solved downstream in the image python:3.13-trixie. No need to use the hotfix anymore.

    Thanx for whoever fixt it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions