Moved Debian package sources to a subdirectory of the repository.

This commit is contained in:
2026-05-28 09:18:43 +02:00
parent ac6482a4a1
commit 1f6d168fb3
22 changed files with 3 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
ARG UBUNTU_VERSION=24.04
FROM ubuntu:${UBUNTU_VERSION}
ARG HOST_UID
ARG HOST_GID
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
build-essential \
dpkg-dev \
debhelper \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /build
COPY . src/
RUN cd src && dpkg-buildpackage -us -uc -b
RUN mkdir /out \
&& find /build -maxdepth 1 \( -name '*.deb' -o -name '*.buildinfo' -o -name '*.changes' \) \
-exec install -o "$HOST_UID" -g "$HOST_GID" -m 0644 {} /out/ \;