From 6866c01524fefb12256794bf8b9bfde13c83ecce Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Mon, 1 Dec 2025 21:43:25 +0000 Subject: [PATCH] Initial azahar-room Dockerfile implementation --- docker/azahar-room/Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 docker/azahar-room/Dockerfile diff --git a/docker/azahar-room/Dockerfile b/docker/azahar-room/Dockerfile new file mode 100644 index 000000000..7b0f5c844 --- /dev/null +++ b/docker/azahar-room/Dockerfile @@ -0,0 +1,21 @@ +# This Dockerfile assumes that it is being built from the project root directory, e.g.: +# $ docker build -f docker/azahar-room/Dockerfile -t azahar-room . + +# --- Builder ---------------- +FROM opensauce04/azahar-build-environment:latest AS builder + +COPY . /var/azahar-src + +RUN mkdir builddir && cd builddir && \ + cmake /var/azahar-src -DENABLE_QT=OFF -DENABLE_TESTS=OFF -DENABLE_ROOM=ON -DENABLE_ROOM_STANDALONE=ON && \ + cmake --build . -j$(nproc) && \ + mv bin/Release/azahar-room /usr/local/bin/ && \ + cd .. && rm -rf builddir + +# --- Final ------------------ +FROM debian:trixie + +RUN apt-get update && apt-get -y full-upgrade +RUN apt-get install -y iputils-ping net-tools + +COPY --from=builder /usr/local/bin/azahar-room /usr/local/bin/azahar-room