mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-23 06:06:11 +00:00
15 lines
956 B
Plaintext
Executable File
15 lines
956 B
Plaintext
Executable File
FROM docker.sapsailing.com/sapjvm8:8.1.088
|
|
LABEL maintainer=axel.uhl@sap.com
|
|
# Download and extract the release
|
|
WORKDIR /home/sailing
|
|
RUN curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add -
|
|
RUN echo "deb [arch=amd64,arm64] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" >/etc/apt/sources.list.d/mongodb-org-4.4.list
|
|
RUN apt-get update \
|
|
&& apt-get install -y vim mongodb-org-shell
|
|
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 /home/sailing/WindEstimationModelsTraining.jar https://static.sapsailing.com/WindEstimationModelsTraining.jar
|
|
CMD exec java "${MEMORY}" -Dmongo.uri="${MONGODB_URI}" -jar WindEstimationModelsTraining.jar "${BEARER_TOKEN}"
|