File tree Expand file tree Collapse file tree 2 files changed +30
-5
lines changed Expand file tree Collapse file tree 2 files changed +30
-5
lines changed Original file line number Diff line number Diff line change
1
+ # [Choice] Arch Linux version: latest
2
+ ARG VARIANT="latest"
3
+ FROM archlinux:${VARIANT}
4
+
5
+ # Adjust directory permissions
6
+ RUN chmod 555 /srv/ftp && \
7
+ chmod 755 /usr/share/polkit-1/rules.d/
8
+
9
+ # Initialize the pacman keyring and perform a full system upgrade
10
+ RUN pacman-key --init && \
11
+ pacman-key --populate archlinux && \
12
+ pacman-key --populate archlinux && \
13
+ pacman -Sy --needed --noconfirm archlinux-keyring && \
14
+ pacman -Su --noconfirm
15
+
16
+ # Full system upgrade
17
+ RUN pacman -Syu --noconfirm
Original file line number Diff line number Diff line change 1
1
{
2
- "image" : " archlinux:latest" ,
2
+ "name" : " Devcontainer-Features" ,
3
+ "image" : " debian:bullseye" ,
3
4
"customizations" : {
4
5
"vscode" : {
5
6
"settings" : {
13
14
]
14
15
},
15
16
"extensions" : [
16
- " mads-hartmann.bash-ide-vscode"
17
+ " mads-hartmann.bash-ide-vscode" ,
18
+ " GitHub.copilot" ,
19
+ " GitHub.copilot-chat" ,
20
+ " github.vscode-github-actions"
17
21
]
18
22
}
19
23
},
20
24
"features" : {
25
+ "ghcr.io/devcontainers/features/common-utils:2" : {
26
+ "configureZshAsDefaultShell" : true ,
27
+ "installOhMyZshConfig" : false
28
+ },
21
29
"ghcr.io/devcontainers/features/docker-in-docker:2" : {},
22
- "ghcr.io/devcontainers/features/common-utils:2 " : {}
30
+ "ghcr.io/devcontainers/features/node:1 " : {}
23
31
},
24
- "remoteUser " : " vscode " ,
25
- "updateContentCommand " : " npm install -g @devcontainers/cli "
32
+ "postCreateCommand " : " npm install -g @devcontainers/cli semver " ,
33
+ "remoteUser " : " vscode "
26
34
}
You can’t perform that action at this time.
0 commit comments