21 lines
435 B
Docker
21 lines
435 B
Docker
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" ]
|