use openjdk-8 (eclipse-temurin) for standard Docker image, avoiding SAPJVM8 dependency

This commit is contained in:
Axel Uhl
2024-05-21 15:04:43 +02:00
parent 5818c64cb6
commit abe9fa0c8b
+3 -4
View File
@@ -1,4 +1,6 @@
FROM docker.sapsailing.com/sapjvm8:8.1.098
FROM eclipse-temurin:8-jdk
# To build with an SAP JVM 8 base image built using Dockerfile_sapjvm, use something like:
#FROM docker.sapsailing.com/sapjvm8:8.1.098
ARG RELEASE
LABEL maintainer=axel.uhl@sap.com
# Download and extract the release
@@ -6,9 +8,6 @@ WORKDIR /home/sailing/servers/server
RUN apt-get update \
&& apt-get install -y vim telnet dnsutils net-tools jq
COPY vimrc /root/.vimrc
RUN wget -O /tmp/rds.pem https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem \
&& /opt/sapjvm_8/bin/keytool -importcert -alias AWSRDS -file /tmp/rds.pem -keystore /opt/sapjvm_8/jre/lib/security/cacerts -noprompt -storepass changeit \
&& rm /tmp/rds.pem
RUN wget -O /tmp/${RELEASE}.tar.gz https://releases.sapsailing.com/${RELEASE}/${RELEASE}.tar.gz \
&& tar xzvpf /tmp/${RELEASE}.tar.gz \
&& rm /tmp/${RELEASE}.tar.gz