git-lfs/docker/gpg-agent_debian_8.dockerfile
Andy Neff e41c14d0da Added GPG docker instead of preload_key.bsh
This should be far more universal. Instea of running gpg-agent
in the host, it is run in a docker and will be plumbed to each
of the other dockers
2015-07-31 16:40:23 -04:00

15 lines
367 B
Docker

FROM debian:jessie
MAINTAINER Andy Neff <andyneff@users.noreply.github.com>
# -v /tmp
LABEL RUN="docker run -v /tmp/gpg-agent"
LABEL STOP="docker exec pkill gpgp-agent"
RUN DEBIAN_FRONTEND=noninteractive apt-get -y update && \
apt-get install -y gnupg-agent gnupg2
VOLUME /tmp/gpg-agent
COPY .start_gpg-agent.bsh *.key /tmp/
ENTRYPOINT /tmp/.start_gpg-agent.bsh