<commit_before>FROM golang:1.3
MAINTAINER <NAME> <<EMAIL>>

RUN mkdir -p /go/src/app
WORKDIR /go/src/app

RUN go-wrapper download \
  github.com/BurntSushi/toml \
  github.com/armon/consul-api \
  github.com/armon/gomdb \
  github.com/cenkalti/backoff \
  github.com/codegangsta/cli \
  github.com/crowdmob/goamz/aws \
  github.com/crowdmob/goamz/sqs \
  github.com/hashicorp/raft \
  github.com/hashicorp/raft-mdb \
  github.com/streadway/amqp \
  github.com/ugorji/go/codec \
  && :

COPY . /go/src/app

RUN cp -f delayd.toml.docker /etc/delayd.toml && \
  useradd -m delayd && \
  install -o delayd -g delayd -m 0700 -d /var/lib/delayd

RUN go-wrapper download ./...
RUN go install ./...

VOLUME ["/var/lib/delayd"]

USER delayd<commit_msg>Dockerfile: chown delayd -R /go<commit_after>FROM golang:1.3
MAINTAINER <NAME> <<EMAIL>>

RUN mkdir -p /go/src/app
WORKDIR /go/src/app

RUN go-wrapper download \
  github.com/BurntSushi/toml \
  github.com/armon/consul-api \
  github.com/armon/gomdb \
  github.com/cenkalti/backoff \
  github.com/codegangsta/cli \
  github.com/crowdmob/goamz/aws \
  github.com/crowdmob/goamz/sqs \
  github.com/hashicorp/raft \
  github.com/hashicorp/raft-mdb \
  github.com/streadway/amqp \
  github.com/ugorji/go/codec \
  && :

COPY . /go/src/app

RUN cp -f delayd.toml.docker /etc/delayd.toml && \
  useradd -m delayd && \
  install -o delayd -g delayd -m 0700 -d /var/lib/delayd

RUN go-wrapper download ./...
RUN go install ./...
RUN chown delayd:delayd -R /go

VOLUME ["/var/lib/delayd"]

USER delayd
{'fraction_non_alphanumeric': 0.152442996742671, 'fraction_numerical': 0.007817589576547232, 'mean_word_length': 2.674641148325359, 'pattern_counts': {'":': 0, '<': 9, '<?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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1107933', 'n_tokens_mistral': 695, 'n_tokens_neox': 652, 'n_words': 116}