<commit_before>FROM ubuntu:13.10
MAINTAINER ciarand <<EMAIL>>

RUN apt-get update

# Install dependencies
RUN apt-get -y install git mercurial wget curl tar openssh-server zip ca-certificates build-essential

# Create Git user
RUN adduser --disabled-login --gecos 'gogits' git

# Install Go
RUN mkdir -p /goproj
ENV PATH /usr/local/go/bin:/goproj/bin:$PATH
ENV GOROOT /usr/local/go
ENV GOPATH /goproj

RUN wget -q http://golang.org/dl/go1.3.src.tar.gz -O- | tar -C /usr/local -xz
RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1

# Install Gogs
RUN go get -tags sqlite -d github.com/gogits/gogs
RUN cd /goproj/src/github.com/gogits/gogs; \
  git checkout -b v0.4.2;\
  go get -v -tags sqlite

RUN cp -r /goproj/src/github.com/gogits/gogs /home/git;\
  cp /goproj/bin/gogs /home/git/gogs/;\
  chown -R git:git /home/git/gogs;

EXPOSE 22
EXPOSE 3000

ADD . /srv/gogs
RUN chmod +x /srv/gogs/start.sh

CMD ["/srv/gogs/start.sh"]<commit_msg>Change the unofficial workdir<commit_after>FROM ubuntu:13.10
MAINTAINER ciarand <<EMAIL>>

RUN apt-get update

# Install dependencies
RUN apt-get -y install git mercurial wget curl tar openssh-server zip ca-certificates build-essential

# Create Git user
RUN adduser --disabled-login --gecos 'gogits' git

# Install Go
RUN mkdir -p /goproj
ENV PATH /usr/local/go/bin:/goproj/bin:$PATH
ENV GOROOT /usr/local/go
ENV GOPATH /goproj

RUN wget -q http://golang.org/dl/go1.3.src.tar.gz -O- | tar -C /usr/local -xz
RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1

# Install Gogs
RUN go get -tags sqlite -d github.com/gogits/gogs
RUN cd /goproj/src/github.com/gogits/gogs; \
  git checkout -b v0.4.2;\
  go get -v -tags sqlite

RUN cp -r /goproj/src/github.com/gogits/gogs /home/git;\
  cp /goproj/bin/gogs /home/git/gogs/;\
  chown -R git:git /home/git/gogs;

EXPOSE 22
EXPOSE 3000

ADD . /app
RUN chmod +x /app/start.sh

CMD ["/app/start.sh"]
{'fraction_non_alphanumeric': 0.14149443561208266, 'fraction_numerical': 0.018018018018018018, 'mean_word_length': 3.0428265524625266, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '6105791', 'n_tokens_mistral': 833, 'n_tokens_neox': 768, 'n_words': 216}