{"id":16540102,"url":"https://github.com/rickstaa/multi-platform-docker-dev-container-test","last_synced_at":"2026-03-18T20:19:09.163Z","repository":{"id":229602426,"uuid":"777157019","full_name":"rickstaa/multi-platform-docker-dev-container-test","owner":"rickstaa","description":"This is a small example repository to show that buildx build arguments are not working as expected in vscode dev containers.","archived":false,"fork":false,"pushed_at":"2024-03-25T10:41:12.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T13:53:52.692Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rickstaa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-25T10:11:05.000Z","updated_at":"2024-05-07T07:01:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b490a4c-b637-44dc-969d-1c8257669772","html_url":"https://github.com/rickstaa/multi-platform-docker-dev-container-test","commit_stats":null,"previous_names":["rickstaa/multi-platform-docker-dev-container-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rickstaa/multi-platform-docker-dev-container-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fmulti-platform-docker-dev-container-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fmulti-platform-docker-dev-container-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fmulti-platform-docker-dev-container-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fmulti-platform-docker-dev-container-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickstaa","download_url":"https://codeload.github.com/rickstaa/multi-platform-docker-dev-container-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fmulti-platform-docker-dev-container-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28969966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T04:44:20.970Z","status":"ssl_error","status_checked_at":"2026-02-01T04:44:19.994Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T18:51:34.578Z","updated_at":"2026-02-01T05:30:55.069Z","avatar_url":"https://github.com/rickstaa.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VScode dev container build arguments\n\nThis is a small example repository to show that [buildx](https://docs.docker.com/reference/cli/docker/buildx/build/) build arguments are not working as expected when trying to open a [multi-platform](https://docs.docker.com/build/guide/multi-platform/#build-using-cross-compilation) container as a [VScode dev container](https://code.visualstudio.com/docs/remote/containers-advanced#_using-build-args).\n\n## How to reproduce\n\n1. Try to build the docker image with the following command:\n\n   ```bash\n   docker build --progress=plain --no-cache -t regular-build:test .\n   ```\n\n2. See that it works.\n3. Try to open this repository in a VScode dev container.\n4. See that it fails. With the following error:\n\n   ```bash\n   [2024-03-25T10:09:40.415Z] Start: Run: docker inspect --type image cuda--base\n   [2024-03-25T10:09:40.429Z] Stop (14 ms): Run: docker inspect --type image cuda--base\n   [2024-03-25T10:09:40.429Z] Path 'library/cuda--base' for input 'docker.io/library/cuda--base' failed validation.  Expected path to match regex '/^[a-z0-9]+([._-][a-z0-9]+)*(\\/[a-z0-9]+([._-][a-z0-9]+)*)*$/'.\n   [2024-03-25T10:09:40.429Z] Error fetching image details: Could not parse image name 'cuda--base'\n   [2024-03-25T10:09:40.429Z] Start: Run: docker pull cuda--base\n   [2024-03-25T10:09:40.441Z] Using default tag: latest\n   [2024-03-25T10:09:41.643Z] Error response from daemon: pull access denied for cuda--base, repository does not exist or may require 'docker login': denied: requested access to the resource is denied\n   [2024-03-25T10:09:41.646Z] Stop (1217 ms): Run: docker pull cuda--base\n   [2024-03-25T10:09:41.646Z] []\n   [2024-03-25T10:09:41.646Z] Error response from daemon: No such image: cuda--base:latest\n\n   [2024-03-25T10:09:41.648Z] Error: Command failed: docker inspect --type image cuda--base\n   ```\n\n\u003e [!NOTE]\n\u003e I also added the `Dockerfile.complicated` Dockerfile that is more close to our real-world scenario. It also fails with the same error.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickstaa%2Fmulti-platform-docker-dev-container-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickstaa%2Fmulti-platform-docker-dev-container-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickstaa%2Fmulti-platform-docker-dev-container-test/lists"}