diff --git a/Dockerfile b/Dockerfile index 072098d..4dbc4b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # NAME ibm/spectrumprotect -# VERSION 8.1.1 +# VERSION 8.1.7 # BUILD docker build -t="ibm/spectrumprotect:latest" . # START docker run -dp 1500:1500 [ -p 1543:1543 ] -v source:/tsm -v source:/data --restart=always --name=spectrum-protect ibm/spectrumprotect @@ -12,24 +12,26 @@ RUN yum -y install http://yum.leenooks.net/CentOS/7/base/redhat-release-7-6.el7. # Installation COPY install.xml install-fp.xml /tmp/ -## New Install - Base level with License -#RUN SOURCE_URL=http://YOUR_SITE_URL_HERE && \ -# mkdir -p /tmp/build && cd /tmp/build && \ -# curl -SL ${SOURCE_URL}/8.1.4 > tsm && chmod +x tsm && ./tsm && rm -f tsm && \ -# ./install.sh -s -input /tmp/install.xml -acceptLicense && \ -# rm -rf /tmp/build /tmp/install*xml - -# New Upgrade Install - Need to get license from base level +# New Install - Base level with License RUN SOURCE_URL=http://YOUR_SITE_URL_HERE && \ - mkdir -p /tmp/build/8.1.0 && cd /tmp/build/8.1.0 && \ - curl -SL ${SOURCE_URL}/8.1.0 > tsm && chmod +x tsm && ./tsm && rm -f tsm && \ - ./install.sh -s -input /tmp/install.xml -acceptLicense && \ - rm -rf /tmp/build/8.1.0 && \ - mkdir -p /tmp/build/8.1.1 && cd /tmp/build/8.1.1 && \ - curl -SL ${SOURCE_URL}/8.1.1 > tsm && chmod +x tsm && ./tsm && rm -f tsm && \ + mkdir -p /tmp/build && cd /tmp/build && \ + curl -SL ${SOURCE_URL}/8.1.7.000-IBM-SPSRV-Linuxx86_64.bin > tsm && chmod +x tsm && ./tsm && rm -f tsm && \ ./install.sh -s -input /tmp/install-fp.xml -acceptLicense && \ rm -rf /tmp/build /tmp/install*xml +## New Upgrade Install - Need to get license from base level - which you get from PPA. the patch you can get from Fixcentral +## https://www.ibm.com/support/fixcentral +## http://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/server/v8r1/Linux/8.1.?.???/x86_64/ ... for maintenance releases (without license files). +#RUN SOURCE_URL=http://yum.leenooks.vpn/docker/tsm/8.x && \ +# mkdir -p /tmp/build/base && cd /tmp/build/base && \ +# curl -SL ${SOURCE_URL}/SP_8.1_LIN86_SER_STG_ML.bin > tsm && chmod +x tsm && ./tsm && rm -f tsm && \ +# ./install.sh -s -input /tmp/install.xml -acceptLicense && \ +# rm -rf /tmp/build/base && \ +# mkdir -p /tmp/build/patch && cd /tmp/build/patch && \ +# curl -SL ${SOURCE_URL}/8.1.7.000-IBM-SPSRV-Linuxx86_64.bin > tsm && chmod +x tsm && ./tsm && rm -f tsm && \ +# ./install.sh -s -input /tmp/install-fp.xml -acceptLicense && \ +# rm -rf /tmp/build /tmp/install*xml + # Dont forget to change the user in the init file too ENV USER=tsm USERDIR=/tsm USERID=201 GROUPID=201