sapcc to 2.14.0.1 + sapjvm to 8.1.083 + docker volume for sapcc config persistence

This commit is contained in:
Francois B. (Makoto) 2022-01-11 20:11:50 +01:00
parent 60fce79164
commit ae48cbfde5
2 changed files with 27 additions and 19 deletions

View file

@ -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

View file

@ -1,6 +1,8 @@
# SAP Cloud Connector Docker Image
Docker file to built a SAP Cloud Connector (SAPCC) Docker image.
Dockerfile to build a SAP Cloud Connector (SAPCC) Docker image.
The goal of this image is to deploy in seconds a fully working SAP Cloud Connector.
## This image is built with
@ -10,14 +12,18 @@ Docker file to built a SAP Cloud Connector (SAPCC) Docker image.
## Release notes
- v5
- SAP JVM 8.1.083
- SAP Cloud Connector 2.14.0.1
- Cloud Connector configuration is saved in Docker volumes (/opt/sap/scc/config & /opt/sap/scc/scc_config)
- v4
- SAP JVM 8.1.078
- SAP JVM 8.1.078
- v3
- SAP Cloud Connector 2.13.2
- SAP Cloud Connector 2.13.2
- v2
- SAP Cloud Connector 2.13.1
- SAP JVM 8.1.075
- CentOS 7
- SAP Cloud Connector 2.13.1
- SAP JVM 8.1.075
- CentOS 7
## Pre-Built Docker Image
@ -32,6 +38,12 @@ services:
sapcc:
image: makoto2600/sapcc:latest
container_name: sapcc
volumes:
- sapcc_config:/opt/sap/scc/config
- sapcc_scc_config:/opt/sap/scc/scc_config
network_mode: host
restart: unless-stopped
volumes:
sapcc_config:
sapcc_scc_config:
```