<commit_before>FROM docker-registry.pdbld.f5net.com/velcro/alpine-golang-python:master

# To enable debug builds with this image, should add this
#   go install -race runtime/race
# But, it fails due to
# https://github.com/golang/go/issues/14481

COPY entrypoint.builder.sh /entrypoint.sh
COPY k8s-build-requirements.txt /tmp/k8s-build-requirements.txt
COPY k8s-runtime-requirements.txt /tmp/k8s-runtime-requirements.txt
COPY requirements.docs.txt /tmp/requirements.docs.txt
 
RUN apk add --no-cache \
		bash \
		git \
		make \
		su-exec && \
	pip install -U setuptools flake8 && \
	pip install -r /tmp/k8s-build-requirements.txt && \
	pip install -r /tmp/k8s-runtime-requirements.txt && \
	pip install -r /tmp/requirements.docs.txt && \
	git clone https://bldr-git.int.lineratesystems.com/mirror/gb.git $GOPATH/src/github.com/constabulary/gb && \
	git -C $GOPATH/src/github.com/constabulary/gb checkout 2b9e9134 && \
	go install github.com/constabulary/gb/... && \
	chmod 755 /entrypoint.sh

ENTRYPOINT [ "/entrypoint.sh" ]
CMD [ "/bin/bash" ]<commit_msg>Not upgrade setuptools in Dockerfile.builder<commit_after>FROM docker-registry.pdbld.f5net.com/velcro/alpine-golang-python:master

# To enable debug builds with this image, should add this
#   go install -race runtime/race
# But, it fails due to
# https://github.com/golang/go/issues/14481

COPY entrypoint.builder.sh /entrypoint.sh
COPY k8s-build-requirements.txt /tmp/k8s-build-requirements.txt
COPY k8s-runtime-requirements.txt /tmp/k8s-runtime-requirements.txt
COPY requirements.docs.txt /tmp/requirements.docs.txt
 
RUN apk add --no-cache \
		bash \
		git \
		make \
		su-exec && \
	pip install setuptools flake8 && \
	pip install -r /tmp/k8s-build-requirements.txt && \
	pip install -r /tmp/k8s-runtime-requirements.txt && \
	pip install -r /tmp/requirements.docs.txt && \
	git clone https://bldr-git.int.lineratesystems.com/mirror/gb.git $GOPATH/src/github.com/constabulary/gb && \
	git -C $GOPATH/src/github.com/constabulary/gb checkout 2b9e9134 && \
	go install github.com/constabulary/gb/... && \
	chmod 755 /entrypoint.sh

ENTRYPOINT [ "/entrypoint.sh" ]
CMD [ "/bin/bash" ]
{'fraction_non_alphanumeric': 0.13818860877684408, 'fraction_numerical': 0.02054154995331466, 'mean_word_length': 3.464583333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '219363', 'n_tokens_mistral': 849, 'n_tokens_neox': 777, 'n_words': 159}