From ebf62cdacdf2fa816c45c451459bd043d2ce3f77 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 18 Aug 2024 16:55:28 +0200 Subject: [PATCH] Add java flavour --- Dockerfile.java | 4 ++++ Makefile | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 Dockerfile.java diff --git a/Dockerfile.java b/Dockerfile.java new file mode 100644 index 0000000..95e0271 --- /dev/null +++ b/Dockerfile.java @@ -0,0 +1,4 @@ +FROM git.staropensource.de/staropensource/actions-docker:latest + +# Install latest OpenJDK release +RUN pacman -S --noconfirm jdk-openjdk diff --git a/Makefile b/Makefile index 00279ec..2e85c0e 100644 --- a/Makefile +++ b/Makefile @@ -4,5 +4,7 @@ help: @echo " upload Builds and uploads the image" build: docker buildx build -t git.staropensource.de/staropensource/actions-docker:latest -f Dockerfile . + docker buildx build -t git.staropensource.de/staropensource/actions-docker:java -f Dockerfile.java . upload: build docker push git.staropensource.de/staropensource/actions-docker:latest + docker push git.staropensource.de/staropensource/actions-docker:java