afancontrol/Dockerfile.debian

28 lines
794 B
Docker
Raw Normal View History

2021-10-26 12:58:36 +02:00
# Docker image for building an `afancontrol` package for Debian.
FROM debian:unstable
RUN apt-get update \
&& apt-get install -y \
build-essential \
debhelper \
devscripts \
python3 \
vim-tiny
# https://github.com/inversepath/usbarmory-debian-base_image/issues/9#issuecomment-451635505
RUN mkdir ~/.gnupg && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf
# Import the GPG key used to sign the PyPI releases of `afancontrol`:
2021-10-26 14:11:39 +02:00
RUN gpg --recv-keys "2D3B9C1712FF84F7"
2021-10-26 12:58:36 +02:00
COPY debian /build/afancontrol/debian
WORKDIR /build/afancontrol/
RUN mkdir -p debian/upstream \
&& gpg --export --export-options export-minimal --armor \
2021-10-26 14:11:39 +02:00
'BE3D633AB6792715ECF34D742D3B9C1712FF84F7' \
2021-10-26 12:58:36 +02:00
> debian/upstream/signing-key.asc
RUN apt-get -y build-dep .