<commit_before>FROM resin/rpi-raspbian
MAINTAINER <EMAIL>

# Let's start with some basic stuff.
RUN apt-get update -qq && apt-get install -qqy \
    apt-transport-https \
    ca-certificates \
    curl \
    lxc \
    iptables \
    rsync \
    build-essential \
    dropbear
    
# Install Docker from Docker Inc. repositories.
COPY ./rce /usr/bin/rce
CHMOD u+x /usr/bin/rce
RUN ln -s /usr/bin/rce /usr/bin/docker

# Install the magic wrapper.
ADD ./wraprce /usr/local/bin/wraprce
RUN chmod +x /usr/local/bin/wraprce

ENV DOCKER_HOST unix:///var/run/rce.sock

RUN mkdir /app
COPY ./app1 /app/app1
COPY ./app2 /app/app2
#COPY ./docker-compose.yml /app/docker-compose.yml
WORKDIR /app


# Install Go 1.4.2
RUN mkdir -p /kubernetes/go \
	&& curl -L http://dave.cheney.net/paste/go1.4.2.linux-arm~multiarch-armv7-1.tar.gz > /kubernetes/go/go1.4.2.tar.gz \
	&& tar -C /usr/local -xzf /kubernetes/go/go1.4.2.tar.gz \
	&& ln -s /usr/local/go/bin/go /usr/bin/go \
	&& ln -s /usr/local/go/bin/godoc /usr/bin/godoc \
	&& ln -s /usr/local/go/bin/gofmt /usr/bin/gofmt

ENV KUBERNETES_VERSION v0.18.1
RUN cd /kubernetes \
	&& curl -L https://github.com/GoogleCloudPlatform/kubernetes/archive/$KUBERNETES_VERSION.tar.gz > $KUBERNETES_VERSION.tar.gz  \
	&& tar -xzf $KUBERNETES_VERSION.tar.gz
	&& cd kubernetes* \
	&& make
	&& cp ./_output/local/bin/linux/arm/hyperkube /
	&& cp ./_output/local/bin/linux/arm/kubectl /



# Define additional metadata for our image.
VOLUME /var/lib/rce
RUN ln -s /var/lib/rce /var/lib/docker
CMD ["wraprce"]<commit_msg>Dockerfile<commit_after>FROM resin/rpi-raspbian
MAINTAINER <EMAIL>

# Let's start with some basic stuff.
RUN apt-get update -qq && apt-get install -qqy \
    apt-transport-https \
    ca-certificates \
    curl \
    lxc \
    iptables \
    rsync \
    build-essential \
    dropbear
    
# Install Docker from Docker Inc. repositories.
COPY ./rce /usr/bin/rce
CHMOD u+x /usr/bin/rce
RUN ln -s /usr/bin/rce /usr/bin/docker

# Install the magic wrapper.
ADD ./wraprce /usr/local/bin/wraprce
RUN chmod +x /usr/local/bin/wraprce

ENV DOCKER_HOST unix:///var/run/rce.sock

RUN mkdir /app
COPY ./app1 /app/app1
COPY ./app2 /app/app2
#COPY ./docker-compose.yml /app/docker-compose.yml
WORKDIR /app


# Install Go 1.4.2
RUN mkdir -p /kubernetes/go \
	&& curl -L http://dave.cheney.net/paste/go1.4.2.linux-arm~multiarch-armv7-1.tar.gz > /kubernetes/go/go1.4.2.tar.gz \
	&& tar -C /usr/local -xzf /kubernetes/go/go1.4.2.tar.gz \
	&& ln -s /usr/local/go/bin/go /usr/bin/go \
	&& ln -s /usr/local/go/bin/godoc /usr/bin/godoc \
	&& ln -s /usr/local/go/bin/gofmt /usr/bin/gofmt

ENV KUBERNETES_VERSION v0.18.1
RUN cd /kubernetes \
	&& curl -L https://github.com/GoogleCloudPlatform/kubernetes/archive/$KUBERNETES_VERSION.tar.gz > $KUBERNETES_VERSION.tar.gz  \
	&& tar -xzf $KUBERNETES_VERSION.tar.gz \
	&& cd kubernetes* \
	&& make \
	&& cp ./_output/local/bin/linux/arm/hyperkube / \
	&& cp ./_output/local/bin/linux/arm/kubectl /



# Define additional metadata for our image.
VOLUME /var/lib/rce
RUN ln -s /var/lib/rce /var/lib/docker
CMD ["wraprce"]
{'fraction_non_alphanumeric': 0.15751867489444624, 'fraction_numerical': 0.014290354011042547, 'mean_word_length': 2.66230677764566, 'pattern_counts': {'":': 0, '<': 5, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7262497', 'n_tokens_mistral': 1342, 'n_tokens_neox': 1275, 'n_words': 265}