init commit

This commit is contained in:
root
2022-05-14 23:44:31 -05:00
parent f44fff42da
commit 78a175ddf2
5 changed files with 110 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM ubuntu:jammy
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install jq -y
RUN apt-get install webp -y
RUN apt-get install openjdk-17-jre -y
RUN apt-get install curl -y
RUN apt-get install wget -y
RUN mkdir -p /opt/ftbmc
RUN mkdir -p /tmp/modpackch
WORKDIR /tmp/modpackch
COPY downloadpack.sh .
COPY cleanup.sh .
COPY setup.sh .
RUN chmod +x *sh
ENV MAXMEMORY="20g"
ENV MINMEMORY="10g"
ENTRYPOINT [ "bash", "./setup.sh" ]