<commit_before>#
# WSO2 ESB 4.8.1
#
FROM isim/oraclejava:1.7.0_80
MAINTAINER <NAME>, <EMAIL>

# copy zip from local folder to container
RUN wget -P /opt https://s3-us-west-2.amazonaws.com/wso2-stratos/wso2esb-4.9.0.zip && \
    apt-get update && \
    apt-get install -y zip && \
    apt-get clean && \
    unzip /opt/wso2esb-4.9.0.zip -d /opt && \
    rm /opt/wso2esb-4.9.0.zip

EXPOSE 9443 9763 8243 8280
ENTRYPOINT ["/opt/wso2esb-4.9.0/bin/wso2server.sh"]<commit_msg>Parameterized ESB version and specify default working directory.<commit_after>#
# WSO2 ESB 4.8.1
#
FROM isim/oraclejava:1.7.0_80
MAINTAINER <NAME>, <EMAIL>

ENV VERSION=4.9.0

# copy zip from local folder to container
RUN wget -P /opt https://s3-us-west-2.amazonaws.com/wso2-stratos/wso2esb-$VERSION.zip && \
    apt-get update && \
    apt-get install -y zip && \
    apt-get clean && \
    unzip /opt/wso2esb-$VERSION.zip -d /opt && \
    rm /opt/wso2esb-$VERSION.zip

EXPOSE 9443 9763 8243 8280
WORKDIR /opt/wso2esb-$VERSION
ENTRYPOINT ["bin/wso2server.sh"]
{'fraction_non_alphanumeric': 0.15436893203883495, 'fraction_numerical': 0.07864077669902912, 'mean_word_length': 2.920152091254753, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '280374', 'n_tokens_mistral': 471, 'n_tokens_neox': 441, 'n_words': 94}