19 lines
966 B
Docker
19 lines
966 B
Docker
# NAME deon/tsmpipe
|
|
# VERSION 8.1.0
|
|
|
|
FROM centos:7
|
|
|
|
#RUN curl -SL ftp://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v8r1/Linux/LinuxX86/BA/v812/8.1.2.0-TIV-TSMBAC-LinuxX86.tar | tar -C /tmp/ -xf - gskcrypt64-8.0.50.78.linux.x86_64.rpm gskssl64-8.0.50.78.linux.x86_64.rpm TIVsm-API64.x86_64.rpm && yum install -y /tmp/*rpm && rm -f /tmp/*rpm
|
|
RUN curl -SL http://yum.leenooks.net/CentOS/7/8.1.2.0-TIV-TSMBAC-LinuxX86.tar | tar -C /tmp/ -xf - gskcrypt64-8.0.50.78.linux.x86_64.rpm gskssl64-8.0.50.78.linux.x86_64.rpm TIVsm-API64.x86_64.rpm && yum install -y /tmp/*rpm && rm -f /tmp/*rpm
|
|
RUN ln -s /tsm/dsm.sys /opt/tivoli/tsm/client/api/bin64/ \
|
|
&& ln -s /tsm/dsm.opt /opt/tivoli/tsm/client/api/bin64/ \
|
|
&& ln -s /tsm/dsmcert.kdb /opt/tivoli/tsm/client/api/bin64/ \
|
|
&& ln -s /tsm/dsmcert.sth /opt/tivoli/tsm/client/api/bin64/
|
|
COPY tsmpipe/tsmpipe /usr/bin
|
|
|
|
VOLUME [ "/tsm" ]
|
|
|
|
# Starting
|
|
ENTRYPOINT [ "/usr/bin/tsmpipe" ]
|
|
RUN rpm -qa|sort
|