This commit is contained in:
Wolfgang Hottgenroth 2020-09-30 09:16:29 +00:00
commit da460bde41
2 changed files with 23 additions and 0 deletions

4
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,4 @@
include:
- project: dockerized/commons
ref: master
file: gitlab-ci-template.yml

19
Dockerfile Normal file
View File

@ -0,0 +1,19 @@
FROM registry.hottis.de/dockerized/base-build-env:latest
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
LABEL ImageName="registry.hottis.de/dockerized/build-env-java11"
LABEL AlternativeImageName="wollud1969/build-env-java11"
RUN \
apt update && \
apt install -y software-properties-common && \
curl https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public > adoptopenjdk.key && \
apt-key add adoptopenjdk.key && \
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ && \
apt update && \
apt install -y adoptopenjdk-11-hotspot && \
apt install -y maven && \
rm -rf /var/lib/apt/lists/*