Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
goSDN
Merge requests
!562
Building a devcontainer setup
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Building a devcontainer setup
test-devcontainer-clab
into
master
Overview
0
Commits
30
Pipelines
17
Changes
6
Merged
Ghost User
requested to merge
test-devcontainer-clab
into
master
1 year ago
Overview
0
Commits
30
Pipelines
17
Changes
6
Expand
Relevant for
#325
Edited
1 year ago
by
Ghost User
0
0
Merge request reports
Compare
master
version 16
fdafed5f
1 year ago
version 15
bbaad75a
1 year ago
version 14
8b09ecb0
1 year ago
version 13
1c06ee13
1 year ago
version 12
fa185f6e
1 year ago
version 11
85b4953d
1 year ago
version 10
937de4a2
1 year ago
version 9
a683e5cb
1 year ago
version 8
c37e1bfa
1 year ago
version 7
b09d5b09
1 year ago
version 6
0651775f
1 year ago
version 5
f41e9036
1 year ago
version 4
78eb2b01
1 year ago
version 3
c5d9559c
1 year ago
version 2
9b2af679
1 year ago
version 1
d134f70b
1 year ago
master (base)
and
latest version
latest version
ba8c817d
30 commits,
1 year ago
version 16
fdafed5f
29 commits,
1 year ago
version 15
bbaad75a
28 commits,
1 year ago
version 14
8b09ecb0
13 commits,
1 year ago
version 13
1c06ee13
13 commits,
1 year ago
version 12
fa185f6e
12 commits,
1 year ago
version 11
85b4953d
11 commits,
1 year ago
version 10
937de4a2
10 commits,
1 year ago
version 9
a683e5cb
9 commits,
1 year ago
version 8
c37e1bfa
8 commits,
1 year ago
version 7
b09d5b09
7 commits,
1 year ago
version 6
0651775f
6 commits,
1 year ago
version 5
f41e9036
5 commits,
1 year ago
version 4
78eb2b01
4 commits,
1 year ago
version 3
c5d9559c
3 commits,
1 year ago
version 2
9b2af679
2 commits,
1 year ago
version 1
d134f70b
1 commit,
1 year ago
6 files
+
96
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
.devcontainer/Dockerfile
0 → 100644
+
22
−
0
Options
# The devcontainer will be based on Python
# The base container already has entrypoint, vscode user account, etc. out of the box
FROM
mcr.microsoft.com/devcontainers/python:3-bookworm
# containelab version will be set in devcontainer.json
ARG
_CLAB_VERSION
# install some basic tools inside the container
# adjust this list based on your demands
RUN
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
\
sshpass
\
curl
\
iputils-ping
\
htop
\
&&
rm
-rf
/var/lib/apt/lists/
*
\
&&
rm
-Rf
/usr/share/doc
&&
rm
-Rf
/usr/share/man
\
&&
apt-get clean
# install preferred version of the containerlab
RUN
bash
-c
"
$(
curl
-sL
https://get.containerlab.dev
)
"
--
-v
${
_CLAB_VERSION
}
\
&&
pip3
install
--user
yamllint
Loading