<commit_before>FROM ubuntu:16.04

RUN apt-get -q update && \
	apt-get -q install -y wget unzip openjdk-8-jre

RUN useradd minecraft -m -s /bin/bash

WORKDIR /usr/local
RUN wget -nv http://mcmyadmin.com/Downloads/etc.zip && \
	unzip etc.zip && \
	rm etc.zip

COPY McMyAdmin.conf /home/minecraft/mcmyadmin/
WORKDIR /home/minecraft/mcmyadmin
RUN wget -nv http://mcmyadmin.com/Downloads/MCMA2_glibc26_2.zip && \
	unzip MCMA2_glibc26_2.zip && \
	rm MCMA2_glibc26_2.zip && \
	mkdir Minecraft && \
	./MCMA2_Linux_x86_64 -nonotice -updateonly


RUN chown -R minecraft:minecraft /home/minecraft

EXPOSE 8080
EXPOSE 25565

USER minecraft

ENTRYPOINT ["/home/minecraft/mcmyadmin/MCMA2_Linux_x86_64"]
CMD ["-setpass", "<PASSWORD>"]<commit_msg>Add EXPOSE for DynMap Port 8123<commit_after>FROM ubuntu:16.04

RUN apt-get -q update && \
	apt-get -q install -y wget unzip openjdk-8-jre

RUN useradd minecraft -m -s /bin/bash

WORKDIR /usr/local
RUN wget -nv http://mcmyadmin.com/Downloads/etc.zip && \
	unzip etc.zip && \
	rm etc.zip

COPY McMyAdmin.conf /home/minecraft/mcmyadmin/
WORKDIR /home/minecraft/mcmyadmin
RUN wget -nv http://mcmyadmin.com/Downloads/MCMA2_glibc26_2.zip && \
	unzip MCMA2_glibc26_2.zip && \
	rm MCMA2_glibc26_2.zip && \
	mkdir Minecraft && \
	./MCMA2_Linux_x86_64 -nonotice -updateonly


RUN chown -R minecraft:minecraft /home/minecraft

EXPORT 8123
EXPOSE 8080
EXPOSE 25565

USER minecraft

ENTRYPOINT ["/home/minecraft/mcmyadmin/MCMA2_Linux_x86_64"]
CMD ["-setpass", "<PASSWORD>"]
{'fraction_non_alphanumeric': 0.12466487935656836, 'fraction_numerical': 0.05361930294906166, 'mean_word_length': 3.8161290322580643, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6293864', 'n_tokens_mistral': 661, 'n_tokens_neox': 614, 'n_words': 132}