Introduce a Docker-based build system for Debian packages to streamline the build process and ensure consistency across environments. This change mitigates potential build failures due to environment discrepancies and simplifies the setup for new developers. - Extend .gitignore to exclude debhelper and build artifacts - Add build.sh script to automate Docker-based package building - Update debian/control to include libyaml-dev as a build dependency - Create debian/files to track generated Debian packages - Add Dockerfile to define the build environment with necessary dependencies Signed-off-by: Glenn Y. Rolland <glenux@glenux.net>
22 lines
561 B
Docker
22 lines
561 B
Docker
FROM debian:trixie
|
|
|
|
RUN set -ex \
|
|
&& sed -i \
|
|
-e 's/Types: deb/Types: deb deb-src/g' \
|
|
/etc/apt/sources.list.d/debian.sources \
|
|
&& apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
build-essential \
|
|
cdbs \
|
|
devscripts \
|
|
equivs \
|
|
fakeroot \
|
|
crystal \
|
|
shards \
|
|
git-buildpackage \
|
|
libyaml-dev \
|
|
libxml2-dev \
|
|
&& apt-get clean \
|
|
&& rm -rf /tmp/* /var/tmp/*
|
|
|
|
WORKDIR /app
|