Skip to content
Snippets Groups Projects
Commit 245ae892 authored by Neil-Jocelyn Schark's avatar Neil-Jocelyn Schark
Browse files

wip

parent 40b3ea11
No related tags found
1 merge request!589Draft: Test devcontainer rosetta
Pipeline #165109 passed
# The devcontainer will be based on Python # The devcontainer will be based on Python
# The base container already has entrypoint, vscode user account, etc. out of the box # The base container already has entrypoint, vscode user account, etc. out of the box
FROM --platform=linux/amd64 mcr.microsoft.com/vscode/devcontainers/base:bullseye FROM mcr.microsoft.com/vscode/devcontainers/base:bullseye
# --platform=linux/amd64
# Containerlab version will be set in devcontainer.json # Containerlab version will be set in devcontainer.json
ARG _CLAB_VERSION ARG _CLAB_VERSION
......
...@@ -8,11 +8,12 @@ ...@@ -8,11 +8,12 @@
"_CLAB_VERSION": "0.46.2" "_CLAB_VERSION": "0.46.2"
} }
}, },
"runArgs": ["--platform=linux/amd64" ], //"runArgs": ["--platform=linux/amd64" ],
"features": { "features": {
// Containerlab will run in a docker-in-docker container // Containerlab will run in a docker-in-docker container
// It is also possible to use docker-outside-docker feature // It is also possible to use docker-outside-docker feature
"ghcr.io/devcontainers/features/docker-in-docker:2.7": { "ghcr.io/devcontainers/features/docker-in-docker:2.7": {
//"ghcr.io/devcontainers/features/docker-outside-of-docker:1.3": {
"version": "latest" "version": "latest"
}, },
"ghcr.io/devcontainers/features/go:1": { "ghcr.io/devcontainers/features/go:1": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment