This commit is contained in:
BENEDEK László 2024-10-05 11:43:43 +02:00
commit 4c4cdcd4e2
7 changed files with 128 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
build.py
buildx-manager

27
java-base.build.yml Normal file
View File

@ -0,0 +1,27 @@
registries:
- registry.tek.govt.hu
repos:
- name: java-base
library: dowerx
path: java-base
args:
- key: VERSION
value: "${VERSION}"
tags:
- name: latest
tags:
- amd64
- arm64
- name: "${VERSION}"
tags:
- "${VERSION}-amd64"
- "${VERSION}-arm64"
builds:
- arch: amd64
tags:
- amd64
- "${VERSION}-amd64"
- arch: arm64
tags:
- arm64
- "${VERSION}-arm64"

9
java-base/Dockerfile Normal file
View File

@ -0,0 +1,9 @@
# registry.tek.govt.hu/dowerx/java-base
FROM alpine:edge
ARG VERSION
RUN apk --no-cache add openjdk${VERSION}
ENTRYPOINT [ "java" ]

27
jmusicbot.build.yml Normal file
View File

@ -0,0 +1,27 @@
registries:
- registry.tek.govt.hu
repos:
- name: jmusicbot
library: dowerx
path: jmusicbot
args:
- key: VERSION
value: "${VERSION}"
tags:
- name: latest
tags:
- amd64
- arm64
- name: "${VERSION}"
tags:
- "${VERSION}-amd64"
- "${VERSION}-arm64"
builds:
- arch: amd64
tags:
- amd64
- "${VERSION}-amd64"
- arch: arm64
tags:
- arm64
- "${VERSION}-arm64"

9
jmusicbot/Dockerfile Normal file
View File

@ -0,0 +1,9 @@
# registry.tek.govt.hu/dowerx/jmusicbot
FROM registry.tek.govt.hu/dowerx/java-base:21-jre
ARG VERSION
RUN wget -O /jmusicbot.jar https://github.com/jagrosh/MusicBot/releases/download/${VERSION}/JMusicBot-${VERSION}.jar
ENTRYPOINT [ "java", "-jar", "/jmusicbot.jar" ]

35
papermc.build.yml Normal file
View File

@ -0,0 +1,35 @@
registries:
- registry.tek.govt.hu
repos:
- name: papermc
library: dowerx
path: papermc
args:
- key: VERSION
value: "${VERSION}"
- key: BUILD
value: "${BUILD}"
tags:
- name: latest
tags:
- amd64
- arm64
- name: "${VERSION}"
tags:
- "${VERSION}-amd64"
- "${VERSION}-arm64"
- name: "${VERSION}-${BUILD}"
tags:
- "${VERSION}-${BUILD}-amd64"
- "${VERSION}-${BUILD}-arm64"
builds:
- arch: amd64
tags:
- amd64
- "${VERSION}-amd64"
- "${VERSION}-${BUILD}-amd64"
- arch: arm64
tags:
- arm64
- "${VERSION}-arm64"
- "${VERSION}-${BUILD}-arm64"

19
papermc/Dockerfile Normal file
View File

@ -0,0 +1,19 @@
# registry.tek.govt.hu/dowerx/papermc
FROM registry.tek.govt.hu/dowerx/java-base:21-jre
ARG VERSION
ARG BUILD
RUN \
mkdir -p /minecraft/workdir && \
wget -O /minecraft/server.jar "https://api.papermc.io/v2/projects/paper/versions/${VERSION}/builds/${BUILD}/downloads/paper-${VERSION}-${BUILD}.jar"
ENV JAVA_FLAGS=-Xmx2G
EXPOSE 25565
EXPOSE 25575
WORKDIR /minecraft/workdir
ENTRYPOINT java ${JAVA_FLAGS} -jar /minecraft/server.jar nogui