first commit

This commit is contained in:
Francois B. (Makoto) 2021-06-16 23:28:16 +02:00
commit 9087d7a984
2 changed files with 20 additions and 0 deletions

19
Dockerfile Normal file
View file

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

1
README.md Normal file
View file

@ -0,0 +1 @@
# SAP Cloud Connector Docker Image