collection.dockerfile/centos6/dp-tools/Dockerfile

16 lines
866 B
Docker
Raw Normal View History

2022-01-17 15:56:05 +08:00
FROM centos:6
LABEL description="Legacy Datapipe tools for Linux team"
LABEL notes="These tools may be supported by Dan Drowns from LDP"
ENV container docker
RUN yum -y install epel-release
RUN rpm -ivh http://repo.openfusion.net/centos6-x86_64/openfusion-release-0.7-1.of.el6.noarch.rpm
RUN yum -y install wget perl perl-SOAP-Lite perl-PAR-Dist perl-parent perl-DBI perl-Frontier-RPC perl-Frontier-RPC-Client perl-Crypt-SSLeay expect perl-Expect perl-IO-Stty perl-TermReadKey perl-Mozilla-CA perl-Try-Tiny
RUN rpm -e httpd mod_perl --nodeps
RUN wget -q --no-check-certificate -O/dp-tools.tgz https://files.unix.cl.datapipe.net/index.php/s/jfTZMT6EZrAmHrb/download
WORKDIR /
RUN tar zxf dp-tools.tgz
COPY README /root/README
ENV PATH="$PATH:/dp/tools/maps-3.1.5/bin:/dp/tools/ssutils/bin:/dp/tools/serverlogin"
ENV PS1 "see /root/README $ "
ENTRYPOINT ["/bin/bash"]