sapmachine

Estimated reading time: 2 minutes

Official SapMachine Docker Image.

GitHub repo: https://github.com/SAP/SapMachine

Library reference

This content is imported from the official Docker Library docs, and is provided by the original uploader. You can view the Docker Hub page for this image at https://hub.docker.com/images/sapmachine

Supported tags and respective Dockerfile links

Quick reference

Overview

The image in this repository contains the SapMachine Java virtual machine (JVM). SapMachine is an OpenJDK based JVM that is build, quality tested and long-term supported by SAP. It is the default JVM on the SAP Cloud Platform and it is also supported as a Standard JRE in the Cloud Foundry Java Build Pack.

For more information see the SapMachine website.

The SapMachine image supports the x86/64 architecture.

Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and/or its affiliates.

logo

How to use this Image

You can pull and test the image with the following commands:

docker pull sapmachine:latest
docker run -it sapmachine:latest java -version

You can also use the SapMachine image as a base image to run your own jar file:

FROM sapmachine:latest
RUN mkdir /opt/myapp
COPY myapp.jar /opt/myapp
CMD ["java", "-jar", "/opt/myapp/myapp.jar"]

You can then build and run your own Docker image:

docker build -t myapp .
docker run -it --rm myapp

License

The Dockerfiles and associated scripts are licensed under the Apache License 2.0.

Licenses for the SapMachine product installed within the images:

SapMachine is licensed under the GNU General Public License (GPL) version with the “CLASSPATH” exception.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

Some additional license information which was able to be auto-detected might be found in the repo-info repository’s sapmachine/ directory.

As for any pre-built image usage, it is the image user’s responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.

library, sample, sapmachine