From a2b422e8736c520fe9bf92a25ee79b98b998cb2c Mon Sep 17 00:00:00 2001 From: Danielle Voznyy Date: Sat, 7 Oct 2023 14:48:29 -0400 Subject: [PATCH] Use alpine minecraft server image as base --- minecraft.Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/minecraft.Dockerfile b/minecraft.Dockerfile index 81ae976..05d58df 100644 --- a/minecraft.Dockerfile +++ b/minecraft.Dockerfile @@ -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 " -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 @@ -38,4 +36,4 @@ RUN chmod +x /scripts/dev/* WORKDIR $HOME -CMD ["/scripts/dev/entrypoint"] +ENTRYPOINT ["/scripts/dev/entrypoint"]