<commit_before>FROM ubuntu:16.04
MAINTAINER <NAME> <<EMAIL>>
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get -q -y update
RUN apt-get -q -y upgrade
RUN apt-get -q -y install curl

#RUN curl -L https://get.rvm.io | bash -s stable --ruby
#because of rvm issue 4068 on github
RUN curl -L https://get.rvm.io | grep -v __rvm_print_headline | bash -s stable --ruby

#RUN mkdir /var/run/sshd
#RUN echo 'root:password' > /root/passwdfile
#RUN cat /root/passwdfile | chpasswd

RUN apt-get -q -y install build-essential
RUN apt-get -q -y install git-core

# Install node
#RUN echo "deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse" >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get -y install software-properties-common python-software-properties python g++ make vim
#RUN add-apt-repository -y ppa:chris-lea/node.js
#not available for 16.04, install normal nodejs instead
RUN apt-get update
RUN apt-get -y install nodejs nodejs-legacy npm
#added
RUN npm install -g bower
RUN apt-get -q -y install busybox-syslogd tmux

RUN apt-get -y install postfix openssh-server sudo ruby-dev libsqlite3-dev

# Install user
RUN useradd -m user

## Install source
ADD . /src

#EXPOSE 22 8080
EXPOSE 8080
ENTRYPOINT ["/src/startup.sh"]
<commit_msg>Import signing key in docker image build<commit_after>FROM ubuntu:16.04
MAINTAINER <NAME> <<EMAIL>>
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get -q -y update
RUN apt-get -q -y upgrade
RUN apt-get -q -y install curl gnupg2

RUN gpg2 --recv-keys <KEY>

#RUN curl -L https://get.rvm.io | bash -s stable --ruby
#because of rvm issue 4068 on github
RUN curl -L https://get.rvm.io | grep -v __rvm_print_headline | bash -s stable --ruby

#RUN mkdir /var/run/sshd
#RUN echo 'root:password' > /root/passwdfile
#RUN cat /root/passwdfile | chpasswd

RUN apt-get -q -y install build-essential
RUN apt-get -q -y install git-core

# Install node
#RUN echo "deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse" >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get -y install software-properties-common python-software-properties python g++ make vim
#RUN add-apt-repository -y ppa:chris-lea/node.js
#not available for 16.04, install normal nodejs instead
RUN apt-get update
RUN apt-get -y install nodejs nodejs-legacy npm
#added
RUN npm install -g bower
RUN apt-get -q -y install busybox-syslogd tmux

RUN apt-get -y install postfix openssh-server sudo ruby-dev libsqlite3-dev

# Install user
RUN useradd -m user

## Install source
ADD . /src

#EXPOSE 22 8080
EXPOSE 8080
ENTRYPOINT ["/src/startup.sh"]

{'fraction_non_alphanumeric': 0.10426356589147287, 'fraction_numerical': 0.018604651162790697, 'mean_word_length': 3.761992619926199, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 16, 'https://': 4, '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': '4382615', 'n_tokens_mistral': 962, 'n_tokens_neox': 885, 'n_words': 329}