Skip to content

Commit fd2b899

Browse files
author
Gemini CLI
committed
Force track and update devcontainer to Fedora 41
1 parent 371c879 commit fd2b899

2 files changed

Lines changed: 8 additions & 29 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,13 @@
1-
FROM fedora:latest
1+
FROM fedora:41
22

3-
# 1. Install MiOS Toolchain + System Components
4-
RUN dnf install -y \
5-
just \
6-
fastfetch \
7-
btop \
8-
podman \
9-
buildah \
10-
skopeo \
11-
jq \
12-
yq \
13-
rsync \
14-
git \
15-
nodejs \
16-
npm \
17-
sudo \
18-
zsh \
19-
findutils \
20-
grep \
21-
sed \
22-
gawk \
23-
policycoreutils \
24-
util-linux \
25-
&& dnf clean all
3+
# 1. Install MiOS Toolchain + System Components (FHS & Build Stack)
4+
RUN dnf install -y just podman podman-compose buildah skopeo bootc bootupd ostree rpm-ostree jq yq rsync git nodejs npm sudo zsh findutils grep sed gawk policycoreutils util-linux authselect openssl qemu-img attr diffutils && dnf clean all
265

276
# 2. Install Gemini CLI to root
287
RUN npm install -g @google/gemini-cli
298

309
# 3. Setup MiOS Development User
31-
RUN useradd -m -u 1000 -s /usr/bin/zsh mios-dev && \
32-
echo "mios-dev ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/mios-dev
10+
RUN useradd -m -u 1000 -s /usr/bin/zsh mios-dev && echo "mios-dev ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/mios-dev
3311

3412
# 4. Prepare MiOS Root Overlay Bootstrap
3513
COPY .devcontainer/install-root-overlay.sh /usr/local/bin/mios-root-overlay

.devcontainer/devcontainer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "MiOS System Root Dev (v0.2.0)",
2+
"name": "MiOS System Root Dev (Fedora 41)",
33
"build": {
44
"dockerfile": "Dockerfile",
55
"context": ".."
@@ -21,14 +21,15 @@
2121
"redhat.vscode-yaml",
2222
"ms-vscode.powershell",
2323
"eamodio.gitlens",
24-
"usernamehw.errorlens"
24+
"usernamehw.errorlens",
25+
"editorconfig.editorconfig"
2526
]
2627
}
2728
},
2829
"remoteUser": "mios-dev",
2930
"workspaceFolder": "/mios",
3031
"mounts": [
31-
"source=${localWorkspaceFolder},target=/mios,type=bind,consistency=cached"
32+
"source=,target=/mios,type=bind,consistency=cached"
3233
],
3334
"postCreateCommand": "sudo /usr/local/bin/mios-root-overlay"
3435
}

0 commit comments

Comments
 (0)