-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Building dhtnet for ubuntu 24.10 require the addition of libzstd for compilation to work (linker require it). Change-Id: I2168a84ee9fde3dc21925f000d5f136ef76fb207
- Loading branch information
1 parent
9edce5f
commit ea0ddeb
Showing
3 changed files
with
50 additions
and
2 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
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,35 @@ | ||
FROM ubuntu:24.10 | ||
|
||
WORKDIR /build | ||
|
||
ENV EMAIL="[email protected]" | ||
ENV DEBFULLNAME="Savoir-faire Linux" | ||
|
||
RUN apt-get update && \ | ||
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ | ||
apt-get install -y \ | ||
dialog apt-utils make devscripts build-essential debmake lintian \ | ||
&& apt-get clean && \ | ||
mkdir -p /build/artifacts | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
build-essential pkg-config cmake dpkg-dev gcc g++ git wget \ | ||
libtool autotools-dev autoconf automake sbuild autopkgtest debhelper debhelper-compat \ | ||
cython3 python3-dev python3-setuptools python3-build python3-virtualenv \ | ||
libncurses5-dev libreadline-dev nettle-dev libcppunit-dev \ | ||
libgnutls28-dev libuv1-dev libjsoncpp-dev libargon2-dev libunistring-dev \ | ||
libssl-dev libfmt-dev libasio-dev libmsgpack-dev libyaml-cpp-dev \ | ||
libupnp-dev libnatpmp-dev \ | ||
systemd libzstd-dev\ | ||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/* | ||
|
||
ARG PKG_NAME | ||
COPY deb-${PKG_NAME}.tar.gz /build/${PKG_NAME}.tar.gz | ||
|
||
CMD tar -xzf ${PKG_NAME}.tar.gz && \ | ||
cd ${PKG_NAME} && \ | ||
debmake -b "dhtnet:bin" -y && \ | ||
debuild && \ | ||
cd .. && \ | ||
rm -Rf ${PKG_NAME} ${PKG_NAME}.tar.gz && \ | ||
cp /build/*.deb /build/artifacts/ |