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
22
33# Update the repositories
4- RUN pacman -Syy
4+ RUN pacman -Syy
55
66RUN /bin/sh -c echo '[multilib]' >> /etc/pacman.conf && \
77 pacman --noconfirm -Syyu && \
@@ -43,6 +43,12 @@ RUN echo '' >> /etc/skel/.zshrc \
4343
4444# create vscode user
4545RUN 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+
4652USER vscode
4753
4854RUN pipx install hatch
Original file line number Diff line number Diff line change 22// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
33{
44 "name" : " robotcode devcontainer" ,
5+ "image" : " ghcr.io/d-biehl/robocode-dev:latest" ,
56
67 // 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+ // },
1011
1112 // Features to add to the dev container. More info: https://containers.dev/features.
1213 // "features": {},
You can’t perform that action at this time.
0 commit comments