From ae48cbfde5dde8917571296e50cca405bb15b5e2 Mon Sep 17 00:00:00 2001 From: "Francois B. (Makoto)" Date: Tue, 11 Jan 2022 20:11:50 +0100 Subject: [PATCH] sapcc to 2.14.0.1 + sapjvm to 8.1.083 + docker volume for sapcc config persistence --- Dockerfile | 22 +++++++++------------- README.md | 24 ++++++++++++++++++------ 2 files changed, 27 insertions(+), 19 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4741abb..4f183d1 100644 --- a/Dockerfile +++ b/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 diff --git a/README.md b/README.md index 55f3d95..c58808c 100644 --- a/README.md +++ b/README.md @@ -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: ```