commit 9087d7a98458ad98d62dc2ac0c413dcb8508ad9f Author: Francois B. (Makoto) Date: Wed Jun 16 23:28:16 2021 +0200 first commit diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f56b95e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM centos:7 +MAINTAINER Francois B (Makoto) < francois [ at ] makotonoblog.be > +ARG SAPCC_VERSION=2.13.1 +ARG SAPJVM_VERSION=8.1.075 +WORKDIR /tmp/sapcc +#RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm +RUN yum -y install which unzip wget net-tools less sudo; yum clean all +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 && \ + 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 && \ + rpm -i sapjvm-$SAPJVM_VERSION-linux-x64.rpm && \ + rpm -i com.sap.scc-ui-$SAPCC_VERSION-8.x86_64.rpm +RUN rm /tmp/sapcc/*.rpm +ENV JAVA_HOME=/opt/sapjvm_8/ +#RUN chsh -s /bin/bash sccadmin +EXPOSE 8443 +USER sccadmin +WORKDIR /opt/sap/scc +CMD ./go.sh diff --git a/README.md b/README.md new file mode 100644 index 0000000..dcc21ce --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# SAP Cloud Connector Docker Image