mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-16 02:38:44 +00:00
use openjdk-8 (eclipse-temurin) for standard Docker image, avoiding SAPJVM8 dependency
This commit is contained in:
+3
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user