<commit_before>FROM centos:centos7

MAINTAINER <NAME> <<EMAIL>>

RUN yum -y update \
	&& yum -y groupinstall "Development Tools" \
	&& yum -y install readline-devel ncurses-devel openssl-devel

RUN git clone https://github.com/SoftEtherVPN/SoftEtherVPN.git /usr/local/src/vpnserver

WORKDIR /usr/local/src/vpnserver

RUN cp src/makefiles/linux_64bit.mak Makefile
RUN make

RUN cp bin/vpnserver/vpnserver /opt/vpnserver
RUN cp bin/vpnserver/hamcore.se2 /opt/hamcore.se2
RUN cp bin/vpncmd/vpncmd /opt/vpncmd

WORKDIR /opt
RUN rm -rf /usr/local/src/vpnserver

RUN yum -y remove readline-devel ncurses-devel openssl-devel \
	&& yum -y groupremove "Development Tools" \
	&& yum clean all

ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

EXPOSE 500/udp 4500/udp

CMD ["/opt/vpnserver", "execsvc"]<commit_msg>EXPOSE'd 1701/tcp for iOS compatibility<commit_after>FROM centos:centos7

MAINTAINER <NAME> <<EMAIL>>

RUN yum -y update \
	&& yum -y groupinstall "Development Tools" \
	&& yum -y install readline-devel ncurses-devel openssl-devel

RUN git clone https://github.com/SoftEtherVPN/SoftEtherVPN.git /usr/local/src/vpnserver

WORKDIR /usr/local/src/vpnserver

RUN cp src/makefiles/linux_64bit.mak Makefile
RUN make

RUN cp bin/vpnserver/vpnserver /opt/vpnserver
RUN cp bin/vpnserver/hamcore.se2 /opt/hamcore.se2
RUN cp bin/vpncmd/vpncmd /opt/vpncmd

WORKDIR /opt
RUN rm -rf /usr/local/src/vpnserver

RUN yum -y remove readline-devel ncurses-devel openssl-devel \
	&& yum -y groupremove "Development Tools" \
	&& yum clean all

ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

EXPOSE 500/udp 4500/udp 1701/tcp

CMD ["/opt/vpnserver", "execsvc"]
{'fraction_non_alphanumeric': 0.11509543088490456, 'fraction_numerical': 0.01850780798149219, 'mean_word_length': 4.058479532163743, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '6901882', 'n_tokens_mistral': 713, 'n_tokens_neox': 663, 'n_words': 166}