-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To enable building for other distributions or without installing the build dependencies locally, provide a Dockerfile and the corresponding usage guide. Signed-off-by: Florian Kauer <[email protected]>
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM debian:bookworm | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update --fix-missing && \ | ||
apt-get upgrade --assume-yes --no-install-recommends && \ | ||
apt-get install --assume-yes --no-install-recommends \ | ||
debmake debhelper-compat dh-python \ | ||
python3 python3-all python3-setuptools \ | ||
protobuf-compiler python3-protobuf && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
ADD . /usr/local/src/detd/ | ||
|
||
WORKDIR /usr/local/src/detd/tools | ||
|
||
# Work around bug in debmake | ||
RUN ln -s /usr/lib/debmake/python3.short /usr/lib/debmakepython3.short | ||
RUN ln -s /usr/lib/debmake/python3.long /usr/lib/debmakepython3.long | ||
|
||
CMD ./package_debian.sh | ||
|