sapcc to 2.14.0.1 + sapjvm to 8.1.083 + docker volume for sapcc config persistence
This commit is contained in:
parent
60fce79164
commit
ae48cbfde5
2 changed files with 27 additions and 19 deletions
22
Dockerfile
22
Dockerfile
|
@ -11,27 +11,23 @@ FROM centos:7
|
|||
|
||||
# SAPJVM and SAPCC version
|
||||
# check https://tools.hana.ondemand.com/#cloud
|
||||
ARG SAPCC_VERSION=2.13.2
|
||||
ARG SAPJVM_VERSION=8.1.078
|
||||
ARG SAPCC_VERSION=2.14.0
|
||||
ARG SAPJVM_VERSION=8.1.083
|
||||
|
||||
# working setup dir
|
||||
WORKDIR /tmp/sapcc
|
||||
|
||||
# full update
|
||||
RUN yum -y update && yum -y clean all
|
||||
|
||||
# add EPEL repo
|
||||
RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||
|
||||
# install some usefull tools
|
||||
RUN yum -y install which unzip wget net-tools less sudo
|
||||
# full update + add EPEL repo + install some useful tools
|
||||
RUN yum -y update && yum -y clean all && \
|
||||
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
|
||||
yum -y install which unzip wget net-tools less sudo
|
||||
|
||||
# download the SAP JVM and SAPCC
|
||||
RUN wget --no-check-certificate --no-cookies --header "Cookie: eula_3_1_agreed=tools.hana.ondemand.com/developer-license-3_1.txt; path=/;" -S https://tools.hana.ondemand.com/additional/sapcc-$SAPCC_VERSION-linux-x64.zip && \
|
||||
RUN wget --no-check-certificate --no-cookies --header "Cookie: eula_3_1_agreed=tools.hana.ondemand.com/developer-license-3_1.txt; path=/;" -S https://tools.hana.ondemand.com/additional/sapcc-$SAPCC_VERSION.1-linux-x64.zip && \
|
||||
wget --no-check-certificate --no-cookies --header "Cookie: eula_3_1_agreed=tools.hana.ondemand.com/developer-license-3_1.txt; path=/;" -S https://tools.hana.ondemand.com/additional/sapjvm-$SAPJVM_VERSION-linux-x64.rpm && \
|
||||
unzip sapcc-$SAPCC_VERSION-linux-x64.zip && \
|
||||
unzip sapcc-$SAPCC_VERSION.1-linux-x64.zip && \
|
||||
rpm -i sapjvm-$SAPJVM_VERSION-linux-x64.rpm && \
|
||||
rpm -i com.sap.scc-ui-$SAPCC_VERSION-5.x86_64.rpm
|
||||
rpm -i com.sap.scc-ui-$SAPCC_VERSION-8.x86_64.rpm
|
||||
|
||||
# clean up previously installed rpm packages
|
||||
RUN rm /tmp/sapcc/*.rpm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue