-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
51 lines (46 loc) · 1.2 KB
/
Dockerfile
File metadata and controls
51 lines (46 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# LessUI Development Container
# Ubuntu 24.04 LTS - matches GitHub Actions runners
# Provides: clang-tidy, clang-format, scan-build, gcc, shellcheck, shfmt, mbake, prettier for QA tasks
# Multi-arch: Supports linux/amd64 and linux/arm64 (Apple Silicon)
FROM ubuntu:24.04
# Install QA tools and LessOS image manipulation tools
RUN apt-get update && apt-get install -y \
clang-tidy \
clang-format \
clang-tools \
gcc \
g++ \
make \
perl \
shellcheck \
shfmt \
pipx \
nodejs \
npm \
lcov \
libsdl2-dev \
libsdl2-image-dev \
libsdl2-ttf-dev \
# LessOS image tools (for fetch-and-inject-lessos.sh)
# - curl: download from GitHub
# - jq: parse GitHub API JSON
# - e2fsprogs: debugfs for ext4 injection
# - fdisk: sfdisk for partition info
# - pigz: parallel gzip
# - zip: create LessOS-specific zip
curl \
jq \
e2fsprogs \
fdisk \
pigz \
zip \
&& rm -rf /var/lib/apt/lists/* \
&& pipx install mbake \
&& pipx ensurepath \
&& npm install -g prettier
# Add pipx binaries to PATH
ENV PATH="/root/.local/bin:${PATH}"
# Set working directory
WORKDIR /lessui
# Default command: bash shell
CMD ["/bin/bash"]