2020-12-25 08:13:22 +01:00
|
|
|
# should be etch or lenny but dockerhub doesn't have such old versions
|
|
|
|
FROM debian:squeeze
|
2020-12-23 09:53:52 +01:00
|
|
|
|
2020-12-25 08:13:22 +01:00
|
|
|
RUN echo "deb http://archive.debian.org/debian squeeze main" > /etc/apt/sources.list ; \
|
|
|
|
apt-get -o=Acquire::AllowInsecureRepositories=true update \
|
2020-12-23 09:53:52 +01:00
|
|
|
&& DEBIAN_FRONTEND=noninteractive \
|
2020-12-25 08:13:22 +01:00
|
|
|
apt-get -o=APT::Get::AllowUnauthenticated=true install -y --no-install-recommends \
|
2020-12-23 09:53:52 +01:00
|
|
|
gnupg \
|
|
|
|
libdevice-serialport-perl \
|
|
|
|
libdigest-sha-perl \
|
|
|
|
libfile-counterfile-perl \
|
2020-12-27 20:07:19 +01:00
|
|
|
libreadonly-perl \
|
2020-12-23 09:53:52 +01:00
|
|
|
openssl \
|
|
|
|
perl \
|
|
|
|
socat \
|
2020-12-23 22:14:13 +01:00
|
|
|
xdelta \
|
2020-12-23 09:53:52 +01:00
|
|
|
&& 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
|
|
|
|
|
2020-12-23 09:53:52 +01:00
|
|
|
CMD ["/usr/local/bin/run-signer"]
|