This commit is contained in:
kento2 2026-08-16 00:26:34 +02:00
commit dede9ce18d
21 changed files with 485 additions and 0 deletions

View file

@ -0,0 +1,16 @@
FROM docker.io/eclipse-temurin:25-jre-alpine
EXPOSE 25565
ENV VELOCITY_VERSION="4.1.0-SNAPSHOT"
VOLUME /mnt
COPY --chmod=755 entrypoint.sh /entrypoint.sh
WORKDIR /data
RUN apk add --no-cache curl jq
RUN curl -s "https://fill.papermc.io/v3/projects/velocity/versions/$VELOCITY_VERSION/builds/latest" \
| jq -r '.downloads."server:default".url' \
| xargs curl -o server.jar
ENTRYPOINT ["/entrypoint.sh"]
CMD ["java", "-jar", "server.jar"]