File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
- FROM archlinux:latest
1
+ FROM archlinux:latest
2
2
3
3
# Update the repositories
4
- RUN pacman -Syy
4
+ RUN pacman -Syy
5
5
6
6
RUN /bin/sh -c echo '[multilib]' >> /etc/pacman.conf && \
7
7
pacman --noconfirm -Syyu && \
@@ -43,6 +43,12 @@ RUN echo '' >> /etc/skel/.zshrc \
43
43
44
44
# create vscode user
45
45
RUN useradd -l -u 33333 -G wheel -md /home/vscode -s /bin/zsh -p vscode vscode
46
+ RUN passwd -d vscode && \
47
+ echo 'vscode ALL=(ALL) ALL' >> /etc/sudoers.d/aur && \
48
+ mkdir -p /home/vscode/.gnupg && \
49
+ echo 'standard-resolver' > /home/vscode/.gnupg/dirmngr.conf && \
50
+ chown -R vscode:vscode /home/vscode
51
+
46
52
USER vscode
47
53
48
54
RUN pipx install hatch
Original file line number Diff line number Diff line change 2
2
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
3
3
{
4
4
"name" : " robotcode devcontainer" ,
5
+ "image" : " ghcr.io/d-biehl/robocode-dev:latest" ,
5
6
6
7
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
7
- "build" : {
8
- "dockerfile" : " Dockerfile"
9
- },
8
+ // "build": {
9
+ // "dockerfile": "Dockerfile"
10
+ // },
10
11
11
12
// Features to add to the dev container. More info: https://containers.dev/features.
12
13
// "features": {},
You can’t perform that action at this time.
0 commit comments