<commit_before>FROM alpine:edge

RUN apk -U upgrade && \
    apk add \
        build-base \
        curl \
        openssl \
        py-pip \
        python \
    && \
    pip install trytls

WORKDIR /tmp
RUN curl -Lo- https://github.com/ouspg/trytls/archive/v0.2.0.tar.gz | gunzip -c - | tar xvf - trytls-0.2.0/stubs/

# Go
RUN apk add go
WORKDIR /tmp/trytls-0.2.0/stubs/go-nethttp
RUN go build run.go

# Java
RUN apk add openjdk8
WORKDIR /tmp/trytls-0.2.0/stubs/java-https
RUN /usr/lib/jvm/java-1.8-openjdk/bin/javac Run.java
WORKDIR /tmp/trytls-0.2.0/stubs/java-net
RUN /usr/lib/jvm/java-1.8-openjdk/bin/javac Run.java

# Python 3
RUN apk add python3

# PHP 5
RUN apk add php5<commit_msg>alpine-edge shootout: Moar into Dockerfile<commit_after>FROM alpine:edge

RUN apk -U upgrade && \
    apk add \
        build-base \
        curl \
        openssl \
        py-pip \
        python \
    && \
    pip install trytls

WORKDIR /tmp
RUN curl -Lo- https://github.com/ouspg/trytls/archive/v0.2.0.tar.gz | gunzip -c - | tar xvf - trytls-0.2.0/stubs/

# Go
RUN apk add go
WORKDIR /tmp/trytls-0.2.0/stubs/go-nethttp
RUN go build run.go

# Java
RUN apk add openjdk8
WORKDIR /tmp/trytls-0.2.0/stubs/java-https
RUN /usr/lib/jvm/java-1.8-openjdk/bin/javac Run.java
WORKDIR /tmp/trytls-0.2.0/stubs/java-net
RUN /usr/lib/jvm/java-1.8-openjdk/bin/javac Run.java

# Python 2
RUN apk add py-requests

# Python 3
RUN apk add python3 && \
    pip3 install requests

# PHP 5
RUN apk add php5

WORKDIR /tmp/trytls-0.2.0/stubs/
{'fraction_non_alphanumeric': 0.13227513227513227, 'fraction_numerical': 0.03505291005291005, 'mean_word_length': 2.2123142250530785, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2952738', 'n_tokens_mistral': 655, 'n_tokens_neox': 637, 'n_words': 144}