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
|
# SAPJVM and SAPCC version
|
||||||
# check https://tools.hana.ondemand.com/#cloud
|
# check https://tools.hana.ondemand.com/#cloud
|
||||||
ARG SAPCC_VERSION=2.13.2
|
ARG SAPCC_VERSION=2.14.0
|
||||||
ARG SAPJVM_VERSION=8.1.078
|
ARG SAPJVM_VERSION=8.1.083
|
||||||
|
|
||||||
# working setup dir
|
# working setup dir
|
||||||
WORKDIR /tmp/sapcc
|
WORKDIR /tmp/sapcc
|
||||||
|
|
||||||
# full update
|
# full update + add EPEL repo + install some useful tools
|
||||||
RUN yum -y update && yum -y clean all
|
RUN yum -y update && yum -y clean all && \
|
||||||
|
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
|
||||||
# add EPEL repo
|
yum -y install which unzip wget net-tools less sudo
|
||||||
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
|
|
||||||
|
|
||||||
# download the SAP JVM and SAPCC
|
# 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 && \
|
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 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
|
# clean up previously installed rpm packages
|
||||||
RUN rm /tmp/sapcc/*.rpm
|
RUN rm /tmp/sapcc/*.rpm
|
||||||
|
|
24
README.md
24
README.md
|
@ -1,6 +1,8 @@
|
||||||
# SAP Cloud Connector Docker Image
|
# 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
|
## This image is built with
|
||||||
|
|
||||||
|
@ -10,14 +12,18 @@ Docker file to built a SAP Cloud Connector (SAPCC) Docker image.
|
||||||
|
|
||||||
## Release notes
|
## 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
|
- v4
|
||||||
- SAP JVM 8.1.078
|
- SAP JVM 8.1.078
|
||||||
- v3
|
- v3
|
||||||
- SAP Cloud Connector 2.13.2
|
- SAP Cloud Connector 2.13.2
|
||||||
- v2
|
- v2
|
||||||
- SAP Cloud Connector 2.13.1
|
- SAP Cloud Connector 2.13.1
|
||||||
- SAP JVM 8.1.075
|
- SAP JVM 8.1.075
|
||||||
- CentOS 7
|
- CentOS 7
|
||||||
|
|
||||||
## Pre-Built Docker Image
|
## Pre-Built Docker Image
|
||||||
|
|
||||||
|
@ -32,6 +38,12 @@ services:
|
||||||
sapcc:
|
sapcc:
|
||||||
image: makoto2600/sapcc:latest
|
image: makoto2600/sapcc:latest
|
||||||
container_name: sapcc
|
container_name: sapcc
|
||||||
|
volumes:
|
||||||
|
- sapcc_config:/opt/sap/scc/config
|
||||||
|
- sapcc_scc_config:/opt/sap/scc/scc_config
|
||||||
network_mode: host
|
network_mode: host
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
sapcc_config:
|
||||||
|
sapcc_scc_config:
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue