<commit_before>FROM golang:latest as builder

COPY . /app/
WORKDIR /app
RUN mkdir -p /app/root
RUN mkdir -p /app/lib64 
RUN CGO_ENABLED=0 go build -o cpud ./cmds/cpud/.
RUN CGO_ENABLED=0 GOBIN=`pwd` go install github.com/u-root/cpu/cmds/cpu
RUN CGO_ENABLED=0 GOBIN=`pwd` go install  github.com/u-root/u-root/cmds/core/date
RUN CGO_ENABLED=0 GOBIN=`pwd` go install  github.com/u-root/u-root/cmds/core/cat

FROM scratch

COPY --from=builder /app/cpud /bin/cpud
COPY --from=builder /app/cpu /bin/cpu
COPY --from=builder /app/date /bin
COPY --from=builder /app/cat /bin<commit_msg>Fix build of cpu in Dockerfile<commit_after>FROM golang:latest as builder

COPY . /app/
WORKDIR /app
RUN mkdir -p /app/root
RUN mkdir -p /app/lib64 
RUN CGO_ENABLED=0 go build -o cpud ./cmds/cpud/.
RUN CGO_ENABLED=0 go build -o cpu ./cmds/cpu/.
RUN CGO_ENABLED=0 GOBIN=`pwd` go install  github.com/u-root/u-root/cmds/core/date
RUN CGO_ENABLED=0 GOBIN=`pwd` go install  github.com/u-root/u-root/cmds/core/cat

FROM scratch

COPY --from=builder /app/cpud /bin/cpud
COPY --from=builder /app/cpu /bin/cpu
COPY --from=builder /app/date /bin
COPY --from=builder /app/cat /bin
{'fraction_non_alphanumeric': 0.1387434554973822, 'fraction_numerical': 0.010471204188481676, 'mean_word_length': 3.463035019455253, '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': '1391499', 'n_tokens_mistral': 482, 'n_tokens_neox': 474, 'n_words': 123}