sdk image cannot be used in devcontainers

Open
#93 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, vscode
Domain
devops

Research direction

Start with the reproduction using ghcr.io/wolfi-dev/sdk:latest, then run the linked VS Code check-requirements-linux.sh script in the container and confirm the missing libstdc++.so.6 requirement. Trace how the SDK image is built from the repository's image or package definitions, and consider the issue done when the check succeeds and the image can start as a VS Code devcontainer.

Written by the indexing model from the issue text.

Description

enhancement needs-triage

Description

Go to vscode and start a devcontainer of wolfi-dev/os

[22577 ms] Start: Run in container: test -x '/root/.vscode-server-insiders/bin/6c19c003574b02afc604c0c1c471b1441b33a3d3-insider/bin/helpers/check-requirements.sh'
[22579 ms] 
[22579 ms] 
[22579 ms] Start: Run in container: '/root/.vscode-server-insiders/bin/6c19c003574b02afc604c0c1c471b1441b33a3d3-insider/bin/helpers/check-requirements.sh'
[22584 ms] 
[22584 ms] 
[22584 ms] Exit code 1
[22584 ms] Start: Run: docker rm -f 499089790db940e06e2d7cbd79abf2939dffe31c2ed39ef59dbe349486d92beb
[22587 ms] Command in container failed: '/root/.vscode-server-insiders/bin/6c19c003574b02afc604c0c1c471b1441b33a3d3-insider/bin/helpers/check-requirements.sh'
[22587 ms] Exit code 1
[22723 ms] Container server terminated (code: 137, signal: null).

for easier reproducing the issue,

docker run --rm -it ghcr.io/wolfi-dev/sdk:latest
curl -o test.sh https://raw.githubusercontent.com/microsoft/vscode/main/resources/server/bin/helpers/check-requirements-linux.sh
sh test.sh
echo $?

It seems to fail as it cannot find libstdc++.so.6 as requirement

Dominant language
HCL
Stars
28
Forks
25
Avg merge
4d 31m
Merged PRs (30d)
6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wolfi-dev/tools

All issues in wolfi-dev/tools

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.