mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Fixed the Docker
This commit is contained in:
parent
5ae6699e5c
commit
ec0f94a870
2 changed files with 26 additions and 11 deletions
|
|
@ -1,10 +1,15 @@
|
|||
FROM mono:6.12.0
|
||||
# Using the .NET official image for .NET 6.0
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0
|
||||
|
||||
COPY start-latest.sh /opt/start-latest.sh
|
||||
# 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 --chmod=0755 start-latest.sh /opt/start-latest.sh
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y jq && \
|
||||
mkdir /opt/data && \
|
||||
chmod +x /opt/start-latest.sh
|
||||
apt-get install -y unzip && \
|
||||
mkdir /opt/data
|
||||
|
||||
ENTRYPOINT ["/bin/sh", "-c", "/opt/start-latest.sh"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue