File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ RUN apt-get update \
1212 && curl -fsSL https://mise.run | sh \
1313 && ~/.local/bin/mise --version || true
1414
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+
1519ENV PATH="/root/.local/bin:${PATH}"
1620
1721RUN echo 'eval "$(/root/.local/bin/mise activate bash)"' > /etc/profile.d/mise.sh \
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+
4+ echo " Installing GUI dependencies for desktop environment..."
5+
6+ apt-get update && apt-get install -y --no-install-recommends \
7+ sudo \
8+ libglib2.0-dev \
9+ libnss3 \
10+ libatk1.0-0 \
11+ libatk-bridge2.0-0 \
12+ libcups2 \
13+ libdrm2 \
14+ libgtk-3-0 \
15+ libgbm1 \
16+ libasound2 \
17+ && apt-get clean && rm -rf /var/lib/apt/lists/*
18+
19+ echo " GUI dependencies installed successfully."
You can’t perform that action at this time.
0 commit comments