<commit_before># Dockerfile for Hyperledger
FROM golang:1.6
MAINTAINER <NAME>

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update \
        && apt-get install -y libsnappy-dev zlib1g-dev libbz2-dev \
        && rm -rf /var/cache/apt

RUN cd /tmp \
 && git clone --single-branch -b v4.1 --depth 1 https://github.com/facebook/rocksdb.git \
 && cd rocksdb \
 && PORTABLE=1 make shared_lib \
 && INSTALL_PATH=/usr make install-shared

RUN go get -d github.com/hyperledger/fabric \
        && cd $GOPATH/src/github.com/hyperledger/fabric\
        && CGO_CFLAGS=" " CGO_LDFLAGS="-lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy" go build -o peer \
        && go install

RUN mkdir -p /var/hyperledger/db
RUN cp $GOPATH/src/github.com/hyperledger/fabric/core.yaml $GOPATH/bin

ENTRYPOINT ["peer"]<commit_msg>mv peer to /go/bin after complile<commit_after># Dockerfile for Hyperledger
FROM golang:1.6
MAINTAINER <NAME>

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update \
        && apt-get install -y libsnappy-dev zlib1g-dev libbz2-dev \
        && rm -rf /var/cache/apt

RUN cd /tmp \
 && git clone --single-branch -b v4.1 --depth 1 https://github.com/facebook/rocksdb.git \
 && cd rocksdb \
 && PORTABLE=1 make shared_lib \
 && INSTALL_PATH=/usr make install-shared

RUN go get -d github.com/hyperledger/fabric \
        && cd $GOPATH/src/github.com/hyperledger/fabric\
        && CGO_CFLAGS=" " CGO_LDFLAGS="-lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy" go build -o peer \
        && cp peer /go/bin/

RUN mkdir -p /var/hyperledger/db
RUN cp $GOPATH/src/github.com/hyperledger/fabric/core.yaml $GOPATH/bin

ENTRYPOINT ["peer"]
{'fraction_non_alphanumeric': 0.13501849568434032, 'fraction_numerical': 0.011097410604192354, 'mean_word_length': 2.882775119617225, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '588360', 'n_tokens_mistral': 627, 'n_tokens_neox': 606, 'n_words': 149}