<commit_before># amsokol/golang-openshift:1.8.0
FROM openshift/base-centos7

# Maintainer name in the image metadata
MAINTAINER <NAME> <<EMAIL>>

# Builder environment variable to inform users about application you provide them
ENV GOLANG_OPENSHIFT_BUILDER_VERSION 1.0

# Set labels used in OpenShift to describe the builder image
LABEL io.k8s.description="Platform for building golang web application" \
      io.k8s.display-name="builder 1.8.0" \
      io.openshift.expose-services="8080:http" \
      io.openshift.tags="builder,1.8.0,golang"

ENV GOLANG_VERSION 1.8.1
ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
ENV GOLANG_DOWNLOAD_SHA256 a579ab19d5237e263254f1eac5352efcf1d70b9dacadb6d6bb12b0911ede8994
RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \
    && echo "$GOLANG_DOWNLOAD_SHA256  golang.tar.gz" | sha256sum -c - \
	&& tar -C /usr/local -xzf golang.tar.gz \
	&& rm golang.tar.gz
ENV PATH /usr/local/go/bin:$PATH

# TODO (optional): Copy the builder files into /opt/app-root
# COPY ./<builder_folder>/ /opt/app-root/

# TODO: Copy the S2I scripts to /usr/libexec/s2i, since openshift/base-centos7 image sets io.openshift.s2i.scripts-url label that way, or update that label<commit_msg>fixed golang version<commit_after># amsokol/golang-openshift:1.8.0
FROM openshift/base-centos7

# Maintainer name in the image metadata
MAINTAINER <NAME> <<EMAIL>>

# Builder environment variable to inform users about application you provide them
ENV GOLANG_OPENSHIFT_BUILDER_VERSION 1.0

# Set labels used in OpenShift to describe the builder image
LABEL io.k8s.description="Platform for building golang web application" \
      io.k8s.display-name="builder 1.8.1" \
      io.openshift.expose-services="8080:http" \
      io.openshift.tags="builder,1.8.1,golang"

ENV GOLANG_VERSION 1.8.1
ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
ENV GOLANG_DOWNLOAD_SHA256 a579ab19d5237e263254f1eac5352efcf1d70b9dacadb6d6bb12b0911ede8994
RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \
    && echo "$GOLANG_DOWNLOAD_SHA256  golang.tar.gz" | sha256sum -c - \
	&& tar -C /usr/local -xzf golang.tar.gz \
	&& rm golang.tar.gz
ENV PATH /usr/local/go/bin:$PATH

# TODO (optional): Copy the builder files into /opt/app-root
# COPY ./<builder_folder>/ /opt/app-root/

# TODO: Copy the S2I scripts to /usr/libexec/s2i, since openshift/base-centos7 image sets io.openshift.s2i.scripts-url label that way, or update that label
{'fraction_non_alphanumeric': 0.10741482965931863, 'fraction_numerical': 0.05771543086172345, 'mean_word_length': 4.344753747323341, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4388975', 'n_tokens_mistral': 1008, 'n_tokens_neox': 921, 'n_words': 217}