Update for SP Server 8.1.7
This commit is contained in:
parent
5e5cc1b0e9
commit
dbcbdf68f3
12
Dockerfile
12
Dockerfile
@ -1,7 +1,8 @@
|
|||||||
# NAME ibm/spectrumprotect-oc
|
# NAME ibm/spectrumprotect-oc
|
||||||
# VERSION 8.1.1
|
# VERSION 8.1.7
|
||||||
# BUILD docker build -t="leenooks/spectrumprotect-oc" .
|
# BUILD docker build -t="ibm/spectrumprotect-oc:latest" .
|
||||||
|
|
||||||
|
# Since SP is supported on RHEL and its not available in docker, we'll use CentOS.
|
||||||
FROM centos:7
|
FROM centos:7
|
||||||
|
|
||||||
# OS Installation Prerequisites
|
# OS Installation Prerequisites
|
||||||
@ -10,10 +11,10 @@ RUN yum -y install http://yum.leenooks.net/CentOS/7/base/redhat-release-7-6.el7.
|
|||||||
COPY install-oc.xml /tmp/
|
COPY install-oc.xml /tmp/
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
# 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://YOUR_SITE_URL_HERE && \
|
RUN SOURCE_URL=http://YOUR_SITE_URL_HERE && \
|
||||||
mkdir -p /tmp/build && cd /tmp/build && \
|
mkdir -p /tmp/build && cd /tmp/build && \
|
||||||
curl -SL ${SOURCE_URL}/8.1.1 > tsm && \
|
curl -SL ${SOURCE_URL}/8.1.7.000-IBM-SPSRV-Linuxx86_64.bin > tsm && chmod +x tsm && ./tsm && rm -f tsm && \
|
||||||
chmod +x tsm && ./tsm && rm -f tsm && \
|
|
||||||
./install.sh -s -input /tmp/install-oc.xml -acceptLicense && \
|
./install.sh -s -input /tmp/install-oc.xml -acceptLicense && \
|
||||||
rm -rf /tmp/build /tmp/install*xml
|
rm -rf /tmp/build /tmp/install*xml
|
||||||
|
|
||||||
@ -23,3 +24,6 @@ COPY init /sbin/
|
|||||||
EXPOSE 11443
|
EXPOSE 11443
|
||||||
ENTRYPOINT [ "/sbin/init" ]
|
ENTRYPOINT [ "/sbin/init" ]
|
||||||
CMD [ "start" ]
|
CMD [ "start" ]
|
||||||
|
|
||||||
|
# Fix OC startup, since it cant find liberty
|
||||||
|
RUN sed -i 's#^installPath=#installPath=/opt/tivoli/tsm/ui#' /opt/tivoli/tsm/ui/Liberty/bin/opscenter.rc
|
||||||
|
Reference in New Issue
Block a user