All applications running on the Infrastructure must build upon one of the given docker base images.
The images can be found on docker hub or on mcr.microsoft.com
Java 11
From on the official ehealth docker repository: https://hub.docker.com/_/openjdkregistry.admin.ehealth.sundhed.dk/harbor/projects/11/repositories
Java 11
Code Block |
---|
baseimages/openjdk:/11-jre-slim |
Or if you wish to use a minimal JRE for the developed application you can use jlink to create this.
And run the resulting on
Code Block |
---|
baseimages/alpine:3.911 |
Java 8
For java 8 the preferred base image is the alpine linux distribution, as it gives a smaller attack surface and has a smaller resource overhead.
Code Block |
---|
baseimages/openjdk:8-jre-alpine |
If you need to use debian, you can use on of the following images:
openjdk:8-jre-slim-stretch
openjdk:8-jre-slim |
jBoss Wildfly
If you need to run an application server, instead of a standalone java application you can use jBoss Wildfly.
https://hub.docker.com/r/jboss/wildfly
In this case, please use the newest wildfly image that you can.
Code Block |
---|
baseimages/jboss/wildfly/17 |
.NET Core
For .NET Core you should use the newest official runtime image from microsoft:
mcr.microsoft.com/dotnet/core/runtime
...
Azul
Openjdk are avaible in two different variants:
Code Block |
---|
baseimages/azul/zulu-openjdk/11
baseimages/azul/zulu-openjdk/alpine/11 |
Security
All docker images are subject to regular security scans. The chosen security scanning software is Anchore Clair which comes with Harbor.
Anchore Clair subscribes to security feeds from the major OS Providers: Alpine Linux, Debian, CentOS as well as NVD.
...