Compare commits

..

3 commits

Author SHA1 Message Date
ebf62cdacd
Add java flavour 2024-08-18 16:55:28 +02:00
a7a47e2874
Add Makefile 2024-08-18 16:55:19 +02:00
7269891ddd
Correct README url 2024-08-18 16:53:12 +02:00
3 changed files with 16 additions and 2 deletions

View file

@ -1,9 +1,9 @@
FROM archlinux:base-devel
LABEL org.opencontainers.image.title="actions-docker"
LABEL org.opencontainers.image.description="StarOpenSource's Docker image for actions pipelines"
LABEL org.opencontainers.image.description="StarOpenSource's Docker image for actions pipelines."
LABEL org.opencontainers.image.authors="JeremyStar™ <jeremystartm@staropensource.de> (@jeremystartm)"
LABEL org.opencontainers.image.url="https://git.staropensource.de/StarOpenSource/actions-docker/raw/branch/develop/README.md"
LABEL org.opencontainers.image.url="https://git.staropensource.de/StarOpenSource/actions-docker/src/branch/develop/README.md"
LABEL org.opencontainers.image.documentation=""
LABEL org.opencontainers.image.source="https://git.staropensource.de/StarOpenSource/actions-docker"
LABEL org.opencontainers.image.licenses="AGPL-3.0-or-later"

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

10
Makefile Normal file
View file

@ -0,0 +1,10 @@
help:
@echo "make help Displays help"
@echo " build Builds the image"
@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