You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
281 B
Docker

FROM adoptopenjdk/openjdk11-openj9
MAINTAINER EstiNet
ARG CS_NAME
ENV CS_NAME ${CS_NAME:-CTF1}
EXPOSE 19005 25565
COPY . /usr/src/server
WORKDIR /usr/src/server
RUN chmod +x init.sh
RUN mkdir /data
RUN mkdir /data/logs
RUN mkdir /data/plugins
CMD ./init.sh && ./esticonsole