diff options
author | Florian Dold <florian@dold.me> | 2021-10-22 17:16:10 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-10-22 17:16:10 +0200 |
commit | aebb245db25b4fd38206ca5e0b716d477ec63228 (patch) | |
tree | 69ac1d3cb91673279f5c3fb23ee1cd05c1305c41 /dpkg-build/Dockerfile | |
parent | 0bffb79fb28f52a36e19496b1e341d1ec8032396 (diff) | |
download | deployment-aebb245db25b4fd38206ca5e0b716d477ec63228.tar.gz deployment-aebb245db25b4fd38206ca5e0b716d477ec63228.tar.bz2 deployment-aebb245db25b4fd38206ca5e0b716d477ec63228.zip |
dpkg-build dockerfile
Diffstat (limited to 'dpkg-build/Dockerfile')
-rw-r--r-- | dpkg-build/Dockerfile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dpkg-build/Dockerfile b/dpkg-build/Dockerfile new file mode 100644 index 0000000..f745c0c --- /dev/null +++ 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 + |