File tree 7 files changed +24
-23
lines changed
7 files changed +24
-23
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"features" : {
3
3
"ghcr.io/devcontainers/features/docker-in-docker:2" : {
4
- "version" : " 2.10.2 " ,
5
- "resolved" : " ghcr.io/devcontainers/features/docker-in-docker@sha256:23ae11a86089da5f0b98a6edd603f91831802b7f2d5ef1e104e1b94a3beb546c " ,
6
- "integrity" : " sha256:23ae11a86089da5f0b98a6edd603f91831802b7f2d5ef1e104e1b94a3beb546c "
4
+ "version" : " 2.11.0 " ,
5
+ "resolved" : " ghcr.io/devcontainers/features/docker-in-docker@sha256:503f23cd692325b3cbb8c20a0ecfabb3444b0c786b363e0c82572bd7d71dc099 " ,
6
+ "integrity" : " sha256:503f23cd692325b3cbb8c20a0ecfabb3444b0c786b363e0c82572bd7d71dc099 "
7
7
},
8
8
"ghcr.io/devcontainers/features/node:1" : {
9
9
"version" : " 1.4.1" ,
Original file line number Diff line number Diff line change 29
29
30
30
- name : Super-Linter
31
31
id : super_linter
32
- uses : super-linter/super-linter/slim@4758be622215d0954c8353ee4877ffd60111cf8e # v6.4.1
32
+ uses : super-linter/super-linter/slim@56576d491db07c7236b445ab09991ca49d12b0c6 # v6.5.0
33
33
env :
34
34
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
35
DEFAULT_BRANCH : main
Original file line number Diff line number Diff line change @@ -8,6 +8,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
9
9
## [ Unreleased]
10
10
11
+ ## [ 2.0.0] - 2024-05-13
12
+
13
+ ### Changed
14
+
15
+ - Updated image to Ubuntu 24.04
16
+ - Updated references to ` 1000 ` , ` vscode ` user is now ` 1001 `
17
+
11
18
## [ 1.0.0] - 2024-04-16
12
19
13
20
### Changed
Original file line number Diff line number Diff line change 2
2
# checkov:skip=CKV_DOCKER_3: USER not required - A non-root user is created, and used by VS Code's Remote Containers extension
3
3
# hadolint global ignore=DL3008,DL3013
4
4
5
- FROM mcr.microsoft.com/devcontainers/base:ubuntu-22 .04
5
+ FROM mcr.microsoft.com/devcontainers/base:ubuntu-24 .04
6
6
7
7
LABEL org.opencontainers.image.vendor="Ministry of Justice" \
8
8
org.opencontainers.image.authors="Dev Container Community" \
@@ -22,16 +22,13 @@ apt-get update --yes
22
22
23
23
apt-get upgrade --yes
24
24
25
- apt-get install --yes --no-install-recommends \
25
+ apt-get install --yes \
26
26
python3-pip
27
27
28
28
apt-get clean --yes
29
29
30
30
rm --force --recursive /var/lib/apt/lists/*
31
31
32
- python3 -m pip install --no-cache-dir --upgrade \
33
- pip
34
-
35
32
chsh --shell "$(which zsh)" vscode
36
33
37
34
cat /home/vscode/.zshrc.snippet >> /home/vscode/.zshrc
@@ -56,7 +53,4 @@ apt-get upgrade --yes
56
53
apt-get clean --yes
57
54
58
55
rm --force --recursive /var/lib/apt/lists/*
59
-
60
- python3 -m pip install --no-cache-dir --upgrade \
61
- pip
62
56
EOF
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " base" ,
3
- "version" : " 1 .0.0"
3
+ "version" : " 2 .0.0"
4
4
}
Original file line number Diff line number Diff line change @@ -77,5 +77,5 @@ apt_install() {
77
77
pip_install () {
78
78
local packages=" ${1} "
79
79
80
- python3 -m pip install --no-cache-dir --upgrade " ${packages} "
80
+ python3 -m pip install --no-cache-dir --upgrade --break-system-packages " ${packages} "
81
81
}
Original file line number Diff line number Diff line change @@ -5,17 +5,17 @@ commandTests:
5
5
- name : " vscode user"
6
6
command : " id"
7
7
args : ["--user", "vscode"]
8
- expectedOutput : ["1000 "]
8
+ expectedOutput : ["1001 "]
9
9
10
10
- name : " vscode group"
11
11
command : " id"
12
12
args : ["--group", "vscode"]
13
- expectedOutput : ["1000 "]
13
+ expectedOutput : ["1001 "]
14
14
15
15
- name : " vscode user getent"
16
16
command : " getent"
17
17
args : ["passwd", "vscode" ]
18
- expectedOutput : ["vscode:x:1000:1000 ::/home/vscode:/usr/bin/zsh"]
18
+ expectedOutput : ["vscode:x:1001:1001 ::/home/vscode:/usr/bin/zsh"]
19
19
20
20
- name : " pip"
21
21
command : " pip"
@@ -41,22 +41,22 @@ fileExistenceTests:
41
41
path : " /home/vscode/.oh-my-zsh/custom/themes/devcontainers.zsh-theme"
42
42
shouldExist : true
43
43
permissions : " -rwxr-xr-x" # 0755
44
- uid : 1000
45
- gid : 1000
44
+ uid : 1001
45
+ gid : 1001
46
46
47
47
- name : " featurerc.d"
48
48
path : " /home/vscode/.devcontainer/featurerc.d"
49
49
shouldExist : true
50
50
permissions : " drwxr-xr-x" # 0755
51
- uid : 1000
52
- gid : 1000
51
+ uid : 1001
52
+ gid : 1001
53
53
54
54
- name : " promptrc.d"
55
55
path : " /home/vscode/.devcontainer/promptrc.d"
56
56
shouldExist : true
57
57
permissions : " drwxr-xr-x" # 0755
58
- uid : 1000
59
- gid : 1000
58
+ uid : 1001
59
+ gid : 1001
60
60
61
61
fileContentTests :
62
62
- name : " zshrc featurerc.d"
You can’t perform that action at this time.
0 commit comments