<commit_before># picobox with ansible
#
# VERSION               0.1.0
FROM ubuntu:16.04
MAINTAINER <NAME> <<EMAIL>>

ENV APP_HOME /etc/ansible

# silence deb warnings
ENV DEBIAN_FRONTEND noninteractive
ENV HOSTNAME picobox

# do install here
RUN mkdir -p /tmp
WORKDIR /tmp

# add repository software
RUN apt-get update
RUN apt-get install -y software-properties-common git tzdata wget curl

## Languages

# python
RUN apt-get install -y python-pip python-yaml gcc python-dev libffi-dev libssl-dev sshpass openssh-client

## Tools

# install boto for EC2 communication
RUN pip install --upgrade pip
RUN pip install -U boto awscli

# install ansible
RUN pip install ansible

# utils
RUN apt-get install -y nano

# set working dir
WORKDIR $APP_HOME

# hook up source
ONBUILD ADD . $APP_HOME
<commit_msg>restore rails box<commit_after># picobox with ruby 2.4, nodejs
#
# VERSION               0.1.0
FROM ubuntu:16.04
MAINTAINER <NAME> <<EMAIL>>

ENV APP_HOME /var/www
ENV PATH $APP_HOME/bin:$PATH

# silence deb warnings
ENV DEBIAN_FRONTEND noninteractive
ENV HOSTNAME picobox

# do install here
RUN mkdir -p /tmp
WORKDIR /tmp

# add repository software
RUN apt-get update
RUN apt-get install -y software-properties-common git tzdata wget curl

# add repository
RUN apt-add-repository -y ppa:brightbox/ruby-ng

## Languages

# ruby
RUN apt-get update -qq && apt-get install -y build-essential ruby2.4 ruby2.4-dev
RUN gem update --system

# nodejs
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
RUN apt-get install -y nodejs

## Database dependencies

# postgres client
RUN apt-get install -y libpq-dev postgresql-client

# sql-lite
RUN apt-get install -y libsqlite3-dev

# mysql
RUN apt-get install -y libmysqlclient-dev

## Tools

# phantomjs pre-requisites
RUN apt-get install -y chrpath libssl-dev libxft-dev
RUN apt-get install -y libfreetype6 libfreetype6-dev
RUN apt-get install -y libfontconfig1 libfontconfig1-dev

# phantomjs latest
RUN npm -g install phantomjs-prebuilt

# utils
RUN apt-get install -y nano

# add rails stuff
RUN gem install bundler
RUN gem install rake

# make nano work
RUN echo "export TERM=xterm" >> /etc/bash.bashrc

# hook up cache volume
ENV BUNDLE_PATH /bundle

# working dir
WORKDIR $APP_HOME

# add gemfile
ONBUILD ADD Gemfile* $APP_HOME/

# hook up source
ONBUILD ADD . $APP_HOME
{'fraction_non_alphanumeric': 0.07827956989247312, 'fraction_numerical': 0.011612903225806452, 'mean_word_length': 3.746938775510204, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 1, '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': '7140431', 'n_tokens_mistral': 832, 'n_tokens_neox': 783, 'n_words': 287}