mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
16 lines
581 B
Docker
16 lines
581 B
Docker
# Using the .NET official image for .NET 6.0
|
|
FROM mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
# If you want to use a specific build, un-comment the ENV MCC_VERSION line (remove the # from the start)
|
|
# Then replace the <version> with a version of your choice (Example: MCC_VERSION=20220817-29)
|
|
#ENV MCC_VERSION=<version>
|
|
|
|
# Copy over the script and give it execution permissions
|
|
COPY start-latest.sh /opt/start-latest.sh
|
|
RUN chmod +x /opt/start-latest.sh
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y unzip && \
|
|
mkdir /opt/data
|
|
|
|
ENTRYPOINT ["/bin/sh", "-c", "/opt/start-latest.sh"]
|