Commit 425e103a authored by Bjoern Nachtwey's avatar Bjoern Nachtwey
Browse files

added Dockerfile for Ubuntu 20.04 with SP 8.1.12 client

parent ea6a2c20
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND noninteractive
USER root
RUN apt-get update && \
apt-get install -y wget
# TSM Setup
RUN cd /tmp/ && wget ftp://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v8r1/Linux/LinuxX86_DEB/BA/v8112/8.1.12.0-TIV-TSMBAC-LinuxX86_DEB.tar && \
tar xvf *TIV-TSMBAC-LinuxX86_DEB.tar && \
dpkg -i gsk*.deb && \
dpkg -i tivsm-api64.amd64.deb && \
dpkg -i tivsm-ba.amd64.deb && \
rm -rf /tmp/* && \
rm -rfv /opt/tivoli/tsm/license && \
rm -rfv /opt/tivoli/tsm/client/ba/bin/CS_CZ && rm -rfv /opt/tivoli/tsm/client/api/bin64/CS_CZ && \
rm -rfv /opt/tivoli/tsm/client/ba/bin/ES_ES && rm -rfv /opt/tivoli/tsm/client/api/bin64/ES_ES && \
rm -rfv /opt/tivoli/tsm/client/ba/bin/FR_FR && rm -rfv /opt/tivoli/tsm/client/api/bin64/FR_FR && \
rm -rfv /opt/tivoli/tsm/client/ba/bin/HU_HU && rm -rfv /opt/tivoli/tsm/client/api/bin64/HU_HU && \
rm -rfv /opt/tivoli/tsm/client/ba/bin/IT_IT && rm -rfv /opt/tivoli/tsm/client/api/bin64/IT_IT && \
rm -rfv /opt/tivoli/tsm/client/ba/bin/JA_JP && rm -rfv /opt/tivoli/tsm/client/api/bin64/JA_JP && \
rm -rfv /opt/tivoli/tsm/client/ba/bin/KO_KR && rm -rfv /opt/tivoli/tsm/client/api/bin64/KO_KR && \
rm -rfv /opt/tivoli/tsm/client/ba/bin/PL_PL && rm -rfv /opt/tivoli/tsm/client/api/bin64/PL_PL && \
rm -rfv /opt/tivoli/tsm/client/ba/bin/PT_BR && rm -rfv /opt/tivoli/tsm/client/api/bin64/PT_BR && \
rm -rfv /opt/tivoli/tsm/client/ba/bin/RU_RU && rm -rfv /opt/tivoli/tsm/client/api/bin64/RU_RU && \
rm -rfv /opt/tivoli/tsm/client/ba/bin/ZH_CN && rm -rfv /opt/tivoli/tsm/client/api/bin64/ZH_CN && \
rm -rfv /opt/tivoli/tsm/client/ba/bin/ZH_TW && rm -rfv /opt/tivoli/tsm/client/api/bin64/ZH_TW
# gsk*.so files not found since ubuntu:20.04
RUN echo "/usr/local/ibm/gsk8_64/lib64" >> /etc/ld.so.conf.d/tsm.conf
RUN /sbin/ldconfig
RUN ln -s /opt/tivoli/tsm/client/lang/EN_US /opt/tivoli/tsm/client/api/bin64/DE_DE
# TSM SSL Setup
#RUN /usr/bin/gsk8capicmd_64 -keydb -create -db /opt/tivoli/tsm/client/ba/bin/dsmcert.kdb -pw tsm -stash -populate
#COPY ./tsm216-cert256.arm /opt/tivoli/tsm/client/ba/bin/
#RUN /usr/bin/gsk8capicmd_64 -cert -add -db /opt/tivoli/tsm/client/ba/bin/dsmcert.kdb -stashed -label "tsm216" -file /opt/tivoli/tsm/client/ba/bin/tsm216-cert256.arm -format ascii
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment