<commit_before>FROM 32bit/debian:jessie
# use GMT+8 as localtime
RUN rm -f /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Taipei /etc/localtime

# install basic rpm required packages
RUN apt-get update -y
RUN apt-get upgrade -y
RUN apt-get install -y \
	curl \
	debfoster \
	deborphan \
	python-rpm \
	python-sqlitecachec \
	python-urlgrabber \
	rpm \
	tmux

# use bash instead of sh
RUN ln -sf bash /bin/sh

# get newest depdency rpms
ENV DL http://download.stlinux.com/pub/stlinux/2.4
RUN curl -o /tmp/deps.rpm $DL/misc/$(curl $DL/misc/ \
  | grep rpm |tail -1|awk -F'>' '{print $3}' \
  | awk -F'<' '{print $1}') 
RUN rpm -ivh --force-debian /tmp/deps.rpm


# 2015/04/16 workaround for 'install all-sh4-glibc' script
RUN curl -o /tmp/ks.rpm $DL/updates/RPMS/host/stlinux24-host-kernel-source-sh4-2.6.32.61_stm24_0215-215.noarch.rpm
RUN rpm -Uvh /tmp/ks.rpm

RUN curl -o /tmp/install $DL/install && bash -x /tmp/install -u all-sh4-glibc<commit_msg>Try to fix filesystem should install before linux-kernel-source<commit_after>FROM 32bit/debian:jessie
# use GMT+8 as localtime
RUN rm -f /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Taipei /etc/localtime

# install basic rpm required packages
RUN apt-get update -y
RUN apt-get upgrade -y
RUN apt-get install -y \
	curl \
	debfoster \
	deborphan \
	python-rpm \
	python-sqlitecachec \
	python-urlgrabber \
	rpm \
	tmux

# use bash instead of sh
RUN ln -sf bash /bin/sh

# get newest depdency rpms
ENV DL http://download.stlinux.com/pub/stlinux/2.4
RUN curl -o /tmp/deps.rpm $DL/misc/$(curl $DL/misc/ \
  | grep rpm |tail -1|awk -F'>' '{print $3}' \
  | awk -F'<' '{print $1}') 
RUN rpm -ivh --force-debian /tmp/deps.rpm


# 2015/04/16 workaround for 'install all-sh4-glibc' script
RUN curl -o /tmp/ks.rpm $DL/updates/RPMS/host/stlinux24-host-kernel-source-sh4-2.6.32.61_stm24_0215-215.noarch.rpm
RUN curl -o /tmp/fs.rpm $DL/STLinux/host/stlinux24-host-filesystem-1.0-7.noarch.rpm
RUN rpm -Uvh /tmp/fs.rpm && rpm -Uvh /tmp/ks.rpm

RUN curl -o /tmp/install $DL/install && bash -x /tmp/install -u all-sh4-glibc
{'fraction_non_alphanumeric': 0.14791464597478177, 'fraction_numerical': 0.03734238603297769, 'mean_word_length': 3.0371819960861055, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '97129', 'n_tokens_mistral': 936, 'n_tokens_neox': 838, 'n_words': 220}