Configure gpg and gpg-agent to allow unattended signing

This commit is contained in:
2018-03-21 10:09:04 +01:00
parent c774e97c96
commit e80adf3c55
5 changed files with 29 additions and 4 deletions

View File

@ -3,9 +3,11 @@ MAINTAINER Benjamin Bohard
RUN apt update && apt install -y ca-certificates gnupg aptly aptly-publisher && apt clean
VOLUME ["/aptly", "/packages"]
VOLUME ["/signing-key", "/packages"]
EXPOSE 8080
COPY aptly.conf /etc/aptly.conf
COPY gpg.conf /root/.gnupg/gpg.conf
COPY gpg-agent.conf /root/.gnupg/gpg-agent.conf
COPY aptly.sh /srv/aptly.sh
CMD ["/srv/aptly.sh"]