Skip to content

Commit 2680b41

Browse files
Copilotkoderzi
andcommitted
Install GUI dependencies directly in Dockerfile instead of using separate script
Co-authored-by: koderzi <30676109+koderzi@users.noreply.github.com>
1 parent 5710f46 commit 2680b41

File tree

2 files changed

+12
-32
lines changed

2 files changed

+12
-32
lines changed

.devcontainer/docker/Dockerfile

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,22 @@ RUN apt-get update \
66
ca-certificates \
77
bash \
88
git \
9-
wget \
10-
procps \
9+
wget \
10+
procps \
11+
sudo \
12+
libglib2.0-dev \
13+
libnss3 \
14+
libatk1.0-0 \
15+
libatk-bridge2.0-0 \
16+
libcups2 \
17+
libdrm2 \
18+
libgtk-3-0 \
19+
libgbm1 \
20+
libasound2 \
1121
&& rm -rf /var/lib/apt/lists/* \
1222
&& curl -fsSL https://mise.run | sh \
1323
&& ~/.local/bin/mise --version || true
1424

15-
# Install GUI dependencies for desktop-lite feature
16-
COPY install-gui-deps.sh /tmp/install-gui-deps.sh
17-
RUN chmod +x /tmp/install-gui-deps.sh && /tmp/install-gui-deps.sh && rm /tmp/install-gui-deps.sh
18-
1925
ENV PATH="/root/.local/bin:${PATH}"
2026

2127
RUN echo 'eval "$(/root/.local/bin/mise activate bash)"' > /etc/profile.d/mise.sh \

.devcontainer/docker/install-gui-deps.sh

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)