taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit aebb245db25b4fd38206ca5e0b716d477ec63228
parent 0bffb79fb28f52a36e19496b1e341d1ec8032396
Author: Florian Dold <florian@dold.me>
Date:   Fri, 22 Oct 2021 17:16:10 +0200

dpkg-build dockerfile

Diffstat:
Adpkg-build/Dockerfile | 32++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+), 0 deletions(-)

diff --git a/dpkg-build/Dockerfile b/dpkg-build/Dockerfile @@ -0,0 +1,32 @@ +FROM docker.io/debian:bullseye + +RUN apt-get update -y +RUN apt-get upgrade -y + +# Install essential build dependencies +RUN apt-get -y install build-essential devscripts debhelper equivs sudo + +# Allow everyone to sudo +RUN echo 'ALL ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers + +RUN useradd -m builduser + +USER builduser + +WORKDIR /home/builduser + +# Clone our repos +RUN git clone --depth=1 git://git.gnunet.org/gnunet.git +RUN git clone --depth=1 git://git.taler.net/exchange.git +RUN git clone --depth=1 git://git.taler.net/merchant.git + +# +## Build GNUnet +# + +# Install build dependencies +RUN cd ~/gnunet && sudo mk-build-deps -t "apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -y" --install debian/control + +RUN cd ~/gnunet && ./bootstrap +RUN cd ~/gnunet && debuild --no-sign -i -B +