<commit_before># Dockerfile for squareup/certstrap
#
# To build this image:
#     docker build -t squareup/certstrap .
#
# To run certstrap from the image (for example):
#     docker run --rm squareup/certstrap --version

FROM golang:1.13-alpine as build

MAINTAINER <NAME> "<EMAIL>"

WORKDIR /app

COPY go.mod .
COPY go.sum .

# Download dependencies
RUN go mod download

# Copy source
COPY . .

# Build
RUN go build -o /usr/bin/certstrap github.com/square/certstrap

# Create a multi-stage build with the binary
FROM alpine
<commit_msg>Fix docker file (#161)<commit_after># Dockerfile for squareup/certstrap
#
# To build this image:
#     docker build -t squareup/certstrap .
#
# To run certstrap from the image (for example):
#     docker run --rm squareup/certstrap --version

FROM golang:1.18-alpine as build

WORKDIR /app

COPY go.mod .
COPY go.sum .

# Download dependencies
RUN go mod download

# Copy source
COPY . .

# Build
RUN CGO_ENABLED=0 go build -buildvcs=false -o /usr/bin/certstrap github.com/square/certstrap

# Create a multi-stage build with the binary
FROM gcr.io/distroless/static

{'fraction_non_alphanumeric': 0.09510869565217392, 'fraction_numerical': 0.009057971014492754, 'mean_word_length': 3.491869918699187, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6016939', 'n_tokens_mistral': 386, 'n_tokens_neox': 362, 'n_words': 128}