Skip to content

Commit

Permalink
Use alpine minecraft server image as base
Browse files Browse the repository at this point in the history
  • Loading branch information
0ffz committed Oct 7, 2023
1 parent 299e9e3 commit a2b422e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions minecraft.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
# Environment: Java
# Minimum Panel Version: 0.6.0
# ----------------------------------
FROM itzg/minecraft-server:java17-jdk
FROM itzg/minecraft-server:java17-alpine
LABEL org.opencontainers.image.authors="Offz <offz@mineinabyss.com>"

RUN apt-get update -y \
&& apt-get install -y rclone wget unzip pipx python3-venv

RUN PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx install --include-deps ansible
RUN apk add --no-cache ansible-core rclone wget unzip \
&& ansible-galaxy collection install community.general

ARG KEEPUP_VERSION=1.1.0

Expand Down Expand Up @@ -38,4 +36,4 @@ RUN chmod +x /scripts/dev/*

WORKDIR $HOME

CMD ["/scripts/dev/entrypoint"]
ENTRYPOINT ["/scripts/dev/entrypoint"]

0 comments on commit a2b422e

Please sign in to comment.