<commit_before>FROM ruby:2.4-jessie

RUN \
apt-get update && \
gem install bundler

COPY . ./
RUN bundle

CMD ["bundle", "exec", "clockwork", "clock.rb"]<commit_msg>Install rancher CLI<commit_after>ARG ruby_version=2.4

FROM ruby:$ruby_version-jessie

ENV RANCHER_CLI_VERSION=v1.0.0-alpha1

RUN \
apt-get update && \
apt-get install -y curl && \
gem install bundler

RUN \
cd /usr/local/bin && \
curl -sL https://github.com/rancher/cli/releases/download/${RANCHER_CLI_VERSION}/rancher-linux-amd64-${RANCHER_CLI_VERSION}.tar.gz | tar xvz --strip 2 && \
chmod a+x rancher

RUN \
apt-get autoremove -y curl && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /usr/share/{doc,man}

COPY . ./
RUN bundle

CMD ["bundle", "exec", "clockwork", "clock.rb"]
{'fraction_non_alphanumeric': 0.17027027027027028, 'fraction_numerical': 0.014864864864864866, 'mean_word_length': 3.63125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1391471', 'n_tokens_mistral': 307, 'n_tokens_neox': 296, 'n_words': 65}