This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
tsmpipe/Dockerfile
2018-03-21 14:15:42 +11:00

22 lines
871 B
Docker

# NAME deon/tsmpipe
# VERSION 8.1.4
FROM centos:7
RUN SOURCE_URL=http://yum.leenooks.net/docker/tsmba && \
PREFIX=TSMCLI_LNX/tsmcli/linux86 && \
CHARS=$(echo ${PREFIX} | awk -F"/" '{print NF}') && \
TSMPIPE=http://yum.leenooks.net/CentOS/7/ln/custom/tsmpipe-7.1.6_0_1.6.6-0.x86_64.rpm && \
curl -SL ${SOURCE_URL}/8.1.4 | tar -C /tmp/ --strip-components ${CHARS} -xzf - ${PREFIX}/gskcrypt64-*.linux.x86_64.rpm ${PREFIX}/gskssl64-*.linux.x86_64.rpm ${PREFIX}/TIVsm-API64.x86_64.rpm && \
yum install -y /tmp/*rpm ${TSMPIPE} && rm -rf /tmp/*rpm /var/cache/yum
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/
VOLUME [ "/tsm" ]
# Starting
ENTRYPOINT [ "/usr/bin/tsmpipe" ]