<commit_before>####################
# Build base image
####################
FROM golang:1.7.6-alpine3.4 as build-base
LABEL maintainer <EMAIL>
ENV FALCON_DIR=/home CONFIG_DIR=/config
ENV PROJ_PATH=${GOPATH}/src/github.com/Cepave/open-falcon-backend

RUN apk add --no-cache ca-certificates bash git g++ perl make
COPY . ${PROJ_PATH}
WORKDIR ${PROJ_PATH}
RUN \
    make all \
    && make pack \
    && tar zxvf open-falcon-v*.tar.gz -C ${FALCON_DIR}


####################
# Build final image
####################
FROM alpine:3.4
LABEL maintainer <EMAIL>
ARG ENTRYFILE=run.sh
ENV FALCON_DIR=/home DOCKER_DIR=docker CONFIG_DIR=/config CONFIG_LINK=config/cfg.json

COPY --from=build-base ${FALCON_DIR} ${FALCON_DIR}
# Set timezone, packages
# Set alias in the case of user want to execute control in their terminal
# Set soft links
RUN \
  apk add --no-cache tzdata ca-certificates bash curl git iproute2 jq \
  && cp /usr/share/zoneinfo/Asia/Taipei /etc/localtime \
  && echo "Asia/Taipei" > /etc/timezone \<commit_msg>Update Dockerfile<commit_after>####################
# Build base image
####################
FROM golang:1.7.6-alpine3.4 as build-base
LABEL maintainer <EMAIL>
ENV FALCON_DIR=/home CONFIG_DIR=/config
ENV PROJ_PATH=${GOPATH}/src/github.com/Cepave/open-falcon-backend

RUN apk add --no-cache ca-certificates bash git g++ perl make
COPY . ${PROJ_PATH}
WORKDIR ${PROJ_PATH}
RUN \
    make all \
    && make pack \
    && tar zxvf open-falcon-v*.tar.gz -C ${FALCON_DIR}


####################
# Build final image
####################
FROM alpine:3.4
LABEL maintainer <EMAIL>minlin<EMAIL>
ARG ENTRYFILE=run.sh
ENV FALCON_DIR=/home DOCKER_DIR=docker CONFIG_DIR=/config CONFIG_LINK=config/cfg.json

COPY --from=build-base ${FALCON_DIR} ${FALCON_DIR}
# Set timezone, packages
# Set alias in the case of user want to execute control in their terminal
# Set soft links
RUN \
  apk add --no-cache tzdata ca-certificates bash curl git iproute2 jq vim \
  && cp /usr/share/zoneinfo/Asia/Taipei /etc/localtime \
  && echo "Asia/Taipei" > /etc/timezone \
{'fraction_non_alphanumeric': 0.18606916707257673, 'fraction_numerical': 0.007793472966390648, 'mean_word_length': 4.30749354005168, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 10, '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': '5736510', 'n_tokens_mistral': 754, 'n_tokens_neox': 715, 'n_words': 194}