28 lines
794 B
Docker
28 lines
794 B
Docker
# 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`:
|
|
RUN gpg --recv-keys "2D3B9C1712FF84F7"
|
|
|
|
COPY debian /build/afancontrol/debian
|
|
WORKDIR /build/afancontrol/
|
|
|
|
RUN mkdir -p debian/upstream \
|
|
&& gpg --export --export-options export-minimal --armor \
|
|
'BE3D633AB6792715ECF34D742D3B9C1712FF84F7' \
|
|
> debian/upstream/signing-key.asc
|
|
|
|
RUN apt-get -y build-dep .
|