Add java flavour
This commit is contained in:
parent
a7a47e2874
commit
ebf62cdacd
2 changed files with 6 additions and 0 deletions
4
Dockerfile.java
Normal file
4
Dockerfile.java
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
FROM git.staropensource.de/staropensource/actions-docker:latest
|
||||||
|
|
||||||
|
# Install latest OpenJDK release
|
||||||
|
RUN pacman -S --noconfirm jdk-openjdk
|
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue