<commit_before># builder image
FROM golang as builder

RUN GO111MODULE=on go get github.com/onsi/ginkgo/ginkgo@v1.8.0

# final image
# TODO get rid of python dependencies
# * wait-for-update.py
FROM registry.opensource.zalan.do/stups/python:latest

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
  git \
  jq \
  pwgen \
  && rm -rf /var/lib/apt/lists/* \
  && pip3 install awscli --no-cache-dir
<commit_msg>Use a compliant base image<commit_after># builder image
FROM golang as builder

RUN GO111MODULE=on go get github.com/onsi/ginkgo/ginkgo@v1.8.0

# final image
# TODO get rid of python dependencies
# * wait-for-update.py
FROM registry.opensource.zalan.do/library/python-3.8-slim:latest

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
  git \
  jq \
  pwgen \
  && rm -rf /var/lib/apt/lists/* \
  && pip3 install awscli --no-cache-dir

{'fraction_non_alphanumeric': 0.1174496644295302, 'fraction_numerical': 0.017897091722595078, 'mean_word_length': 3.4306930693069306, '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': '7419417', 'n_tokens_mistral': 342, 'n_tokens_neox': 330, 'n_words': 84}