Skip to content

Commit f7c925f

Browse files
committed
Fix devcontainer
1 parent bf13de9 commit f7c925f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FROM archlinux
2+
RUN pacman -Syu --noconfirm bash git python

.devcontainer/portability-archlinux/devcontainer.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
// See https://aka.ms/devcontainer.json for format details.
22
{
33
"name": "archlinux",
4-
"image": "archlinux",
4+
//"image": "archlinux",
5+
"dockerFile": "Dockerfile",
56
"onCreateCommand": ".devcontainer/onCreate-meson.sh || true",
67
"features": {
7-
"ghcr.io/devcontainers/features/git": {},
8-
"ghcr.io/devcontainers/features/python:1": {},
8+
// Git feature is not compatible with Arch Linux, so we install it manually in the Dockerfile
9+
// https://github.com/devcontainers/features/issues/824
10+
//"ghcr.io/devcontainers/features/git": {},
11+
//"ghcr.io/devcontainers/features/python:1": {},
912
"../uv": {
1013
"version": "latest"
1114
}

0 commit comments

Comments
 (0)