-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
60 lines (53 loc) · 2.3 KB
/
Copy pathDockerfile
File metadata and controls
60 lines (53 loc) · 2.3 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
52
53
54
55
56
57
58
59
60
# ─────────────────────────────────────────────────────────────────────────────
# Qt Ambient Awareness System — Development Container
# Ubuntu 24.04 | Qt 6 | CMake | Python 3 | Sphinx RTD
# ─────────────────────────────────────────────────────────────────────────────
FROM ubuntu:24.04
LABEL maintainer="AAS Contributors"
LABEL description="Qt Ambient Awareness System — full dev environment"
LABEL version="0.5.0"
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=UTC
# ── System + Qt6 + build tools ───────────────────────────────────────────────
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
cmake \
ninja-build \
git \
pkg-config \
qt6-base-dev \
qt6-base-dev-tools \
qt6-declarative-dev \
qt6-multimedia-dev \
qt6-shadertools-dev \
qt6-shader-baker \
libqt6test6t64 \
libgl1-mesa-dev \
libgles2-mesa-dev \
libglu1-mesa-dev \
xvfb \
libxkbcommon-dev \
libxkbcommon-x11-0 \
python3 \
python3-pip \
python3-venv \
doxygen \
graphviz \
curl \
wget \
ca-certificates \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# ── Python / Sphinx environment ───────────────────────────────────────────────
COPY docs/requirements.txt /tmp/docs-requirements.txt
RUN pip3 install --no-cache-dir --break-system-packages \
-r /tmp/docs-requirements.txt
# ── Create non-root user + writable workspace ─────────────────────────────────
# /workspace/build is created here so Docker volume mounts don't
# overwrite it with root ownership before the user switch.
RUN useradd -m -s /bin/bash aas \
&& mkdir -p /workspace/build \
&& chown -R aas:aas /workspace
USER aas
WORKDIR /workspace
CMD ["/workspace/scripts/docker-build.sh"]