Add java flavour

This commit is contained in:
JeremyStar™ 2024-08-18 16:55:28 +02:00
parent a7a47e2874
commit ebf62cdacd
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
2 changed files with 6 additions and 0 deletions

4
Dockerfile.java Normal file
View file

@ -0,0 +1,4 @@
FROM git.staropensource.de/staropensource/actions-docker:latest
# Install latest OpenJDK release
RUN pacman -S --noconfirm jdk-openjdk

View file

@ -4,5 +4,7 @@ help:
@echo " upload Builds and uploads the image" @echo " upload Builds and uploads the image"
build: build:
docker buildx build -t git.staropensource.de/staropensource/actions-docker:latest -f Dockerfile . 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 upload: build
docker push git.staropensource.de/staropensource/actions-docker:latest docker push git.staropensource.de/staropensource/actions-docker:latest
docker push git.staropensource.de/staropensource/actions-docker:java