cacert-devsetup/signer.Dockerfile

33 lines
839 B
Docker
Raw Permalink Normal View History

FROM debian/eol:jessie
RUN sed -i \
-e 's@\(^deb http://deb\..*\)$@#\1@' \
-e 's@\(^deb http://security\..*\)$@deb http://archive.debian.org/debian-security jessie/updates main@' \
/etc/apt/sources.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \
gnupg \
libdevice-serialport-perl \
libdigest-sha-perl \
libfile-counterfile-perl \
2020-12-27 20:07:19 +01:00
libreadonly-perl \
openssl \
perl \
socat \
2020-12-23 22:14:13 +01:00
xdelta \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY cacert-software/CommModule/server.pl \
cacert-software/CommModule/logclean.sh \
/srv/CommModule/
COPY docker/run-signer usr/local/bin/
COPY docker/signer-config/* /srv/caconfig/
2020-12-23 22:14:13 +01:00
COPY testca /srv/testca/
VOLUME /srv/ca
CMD ["/usr/local/bin/run-signer"]