15 lines
365 B
Docker
Executable File
15 lines
365 B
Docker
Executable File
FROM openjdk:8-jdk-bullseye
|
|
|
|
RUN apt update && apt install -y unzip
|
|
|
|
RUN groupadd -r minecraft -g 2000
|
|
RUN useradd --no-log-init minecraft -u 2000 -g 2000 -m
|
|
WORKDIR /mc_data
|
|
RUN chown -R minecraft:minecraft .
|
|
|
|
# Copy the modpack
|
|
COPY versions/the-1122-pack_1.4.0.zip /the-1122-pack/the-1122-pack.zip
|
|
RUN chown -R minecraft:minecraft /the-1122-pack
|
|
|
|
USER minecraft
|