<commit_before># export TAG=`date +"%Y%m%d.%H%M"`
# docker build --force-rm --no-cache --rm -t mgrast/awe .
# docker tag mgrast/awe mgrast/awe:${TAG}

# skycore push mgrast/awe:${TAG}
# docker create --name awe-temporary mgrast/awe:${TAG}
# docker cp awe-temporary:/go/bin/awe-worker .
# docker cp awe-temporary:/go/bin/awe-submitter .
# docker rm awe-temporary


FROM golang:1.11.1-alpine

#RUN apk update && apk add git gcc libc-dev cyrus-sasl-dev

# git needed for GIT_COMMIT_HASH
RUN apk update && apk add git

ENV AWE=/go/src/github.com/MG-RAST/AWE
WORKDIR /go/bin

COPY . /go/src/github.com/MG-RAST/AWE

# backwards compatible pathing with old dockerfile
RUN ln -s /go /gopath

# compile AWE
RUN mkdir -p ${AWE} && \<commit_msg>fix dockerimage name<commit_after>
# docker build --force-rm --no-cache --rm -t mgrast/awe-server .

# binaries
# docker create --name awe-temporary mgrast/awe-server
# docker cp awe-temporary:/go/bin/awe-worker .
# docker cp awe-temporary:/go/bin/awe-submitter .
# docker rm awe-temporary


FROM golang:1.11.1-alpine

#RUN apk update && apk add git gcc libc-dev cyrus-sasl-dev

# git needed for GIT_COMMIT_HASH
RUN apk update && apk add git

ENV AWE=/go/src/github.com/MG-RAST/AWE
WORKDIR /go/bin

COPY . /go/src/github.com/MG-RAST/AWE

# backwards compatible pathing with old dockerfile
RUN ln -s /go /gopath

# compile AWE
RUN mkdir -p ${AWE} && \
{'fraction_non_alphanumeric': 0.14089595375722544, 'fraction_numerical': 0.005780346820809248, 'mean_word_length': 3.3968253968253967, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5149381', 'n_tokens_mistral': 599, 'n_tokens_neox': 550, 'n_words': 145}