<commit_before># DOCKER-VERSION 1.0
FROM dit4c/project-base
MAINTAINER <EMAIL>

# Install R
RUN yum install -y R

# Install RStudio
RUN cd /tmp && \
  export BASE_ARCH=`uname --hardware-platform` && \
  curl -o rstudio-server.rpm http://download2.rstudio.org/rstudio-server-0.98.953-${BASE_ARCH}.rpm && \
  yum install -y compat-libffi psmisc && \
  ln -s /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.6 && \
  ln -s /usr/lib64/libcrypto.so.10 /usr/lib64/libcrypto.so.6 && \
  ln -s /usr/lib64/libgmp.so.10 /usr/lib64/libgmp.so.3 && \
  rpm -ivh --nodeps rstudio-server.rpm && \
  rm rstudio-server.rpm && \
  cd -

# Add supporting files (directory at a time to improve build speed)
COPY etc /etc
COPY opt /opt
COPY var /var
# Chowned to root, so reverse that change
RUN chown -R researcher /var/log/easydav /var/log/supervisor
#RUN chown -R nginx /var/lib/nginx<commit_msg>Removing /opt copy, as directory is empty.<commit_after># DOCKER-VERSION 1.0
FROM dit4c/project-base
MAINTAINER <EMAIL>

# Install R
RUN yum install -y R

# Install RStudio
RUN cd /tmp && \
  export BASE_ARCH=`uname --hardware-platform` && \
  curl -o rstudio-server.rpm http://download2.rstudio.org/rstudio-server-0.98.953-${BASE_ARCH}.rpm && \
  yum install -y compat-libffi psmisc && \
  ln -s /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.6 && \
  ln -s /usr/lib64/libcrypto.so.10 /usr/lib64/libcrypto.so.6 && \
  ln -s /usr/lib64/libgmp.so.10 /usr/lib64/libgmp.so.3 && \
  rpm -ivh --nodeps rstudio-server.rpm && \
  rm rstudio-server.rpm && \
  cd -

# Add supporting files (directory at a time to improve build speed)
COPY etc /etc
COPY var /var
# Chowned to root, so reverse that change
RUN chown -R researcher /var/log/easydav /var/log/supervisor
#RUN chown -R nginx /var/lib/nginx
{'fraction_non_alphanumeric': 0.14634146341463414, 'fraction_numerical': 0.03516732841747022, 'mean_word_length': 2.9640449438202245, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6929293', 'n_tokens_mistral': 758, 'n_tokens_neox': 696, 'n_words': 178}