<commit_before>FROM java:8-jdk
MAINTAINER <NAME><<EMAIL>>

RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get dist-upgrade -y
RUN apt-get install imagemagick -y

ADD target/universal /opt/blog
RUN cd /opt/blog && \
  cmd=$(basename *.tgz .tgz) && \
  tar xf ${cmd}.tgz && \
  echo printenv > launch.sh && \
  echo /opt/blog/$cmd/bin/blog-server -Duser.home=/root -DapplyEvolutions.default=true -Dplay.crypto.secret=\${APP_SECRET} \$BLOG_OPT >> launch.sh && \
  chmod +x launch.sh && \
  chmod -R 777 /opt/blog

EXPOSE 9000

ENTRYPOINT ["/bin/bash", "-c", "/opt/blog/launch.sh"]<commit_msg>Change base docker image.<commit_after>FROM ubuntu
MAINTAINER <NAME><<EMAIL>>

RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get dist-upgrade -y
RUN apt-get install imagemagick openjdk-8-jdk -y

ADD target/universal /opt/blog
RUN cd /opt/blog && \
  cmd=$(basename *.tgz .tgz) && \
  tar xf ${cmd}.tgz && \
  echo printenv > launch.sh && \
  echo /opt/blog/$cmd/bin/blog-server -Duser.home=/root -DapplyEvolutions.default=true -Dplay.crypto.secret=\${APP_SECRET} \$BLOG_OPT >> launch.sh && \
  chmod +x launch.sh && \
  chmod -R 777 /opt/blog

EXPOSE 9000

ENTRYPOINT ["/bin/bash", "-c", "/opt/blog/launch.sh"]
{'fraction_non_alphanumeric': 0.17330016583747926, 'fraction_numerical': 0.013266998341625208, 'mean_word_length': 3.326164874551971, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 0, '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': '5669626', 'n_tokens_mistral': 492, 'n_tokens_neox': 456, 'n_words': 113}