cacert-devsetup/signer_client.Dockerfile

38 lines
1,020 B
Docker
Raw Permalink Normal View History

FROM debian/eol:jessie
2020-12-24 08:03:24 +01:00
COPY testca/root/ca.crt.pem /usr/local/share/ca-certificates/testca_root.crt
COPY testca/class3/ca.crt.pem /usr/local/share/ca-certificates/testca_class3.crt
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 \
2020-12-24 08:03:24 +01:00
ca-certificates \
gnupg \
libdbd-mysql-perl \
libdbi-perl \
libdevice-serialport-perl \
libemail-mime-perl \
libfile-counterfile-perl \
libreadonly-perl \
openssl \
perl \
socat \
2020-12-23 22:14:13 +01:00
xdelta \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
VOLUME /srv/certs
COPY cacert-software/CommModule/client.pl \
cacert-software/CommModule/logclean.sh \
/srv/CommModule/
COPY docker/run-signer_client usr/local/bin/
WORKDIR /srv/CommModule
CMD ["run-signer_client"]