mirror of
https://gitlab.com/rusty-bever/deployment.git
synced 2026-04-08 07:15:47 +02:00
feat: update paper to use alex 0.3.0
This commit is contained in:
parent
f593bad484
commit
2a3fc0ca26
2 changed files with 6 additions and 4 deletions
|
|
@ -24,7 +24,7 @@ ARG MC_VERSION
|
|||
ARG PAPERMC_VERSION
|
||||
|
||||
# Install alex binary
|
||||
ADD "https://git.rustybever.be/api/packages/Chewing_Bever/generic/alex/0.2.2/alex-linux-amd64" /bin/alex
|
||||
ADD "https://git.rustybever.be/api/packages/Chewing_Bever/generic/alex/0.3.0/alex-linux-amd64" /bin/alex
|
||||
|
||||
RUN chmod +x /bin/alex && \
|
||||
addgroup -Sg 1000 paper && \
|
||||
|
|
@ -47,6 +47,7 @@ ENV ALEX_JAR=/app/server.jar \
|
|||
ALEX_CONFIG_DIR=/app/config \
|
||||
ALEX_WORLD_DIR=/app/worlds \
|
||||
ALEX_BACKUP_DIR=/app/backups \
|
||||
ALEX_SERVER=paper \
|
||||
ALEX_SERVER_VERSION="${MC_VERSION}-${PAPERMC_VERSION}"
|
||||
|
||||
# Document exposed ports
|
||||
|
|
@ -58,7 +59,7 @@ USER paper:paper
|
|||
COPY --from=dumb-init-builder /app/dumb-init /dumb-init
|
||||
|
||||
ENTRYPOINT ["/dumb-init", "--"]
|
||||
CMD /bin/alex paper
|
||||
CMD /bin/alex run
|
||||
|
||||
# HEALTHCHECK --interval=30s --timeout=5s --start-period=1m --retries=5 \
|
||||
# CMD mcstatus localhost:25565 ping
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue