<commit_before># Dockerfile for EvaluateSegmentation.
#
# Build image:
#   docker build --tag evaluatesegmentation .
#
# Run image:
#   docker run --rm -it -v $PWD:/data evaluatesegmentation /data/reference.nii.gz /data/segmentation.nii.gz

ARG MAKE_JOBS=1

FROM alpine:3.12.0 AS base
FROM base AS builder

RUN apk add --no-cache \
        cmake \
        g++ \
        gcc \
        git \
        linux-headers \
        make

ARG MAKE_JOBS
WORKDIR /opt/itk-src
RUN wget -O- -q https://github.com/InsightSoftwareConsortium/ITK/releases/download/v5.1.1/InsightToolkit-5.1.1.tar.gz \<commit_msg>add perl to builder stage<commit_after># Dockerfile for EvaluateSegmentation.
#
# Build image:
#   docker build --tag evaluatesegmentation .
#
# Run image:
#   docker run --rm -it -v $PWD:/data evaluatesegmentation /data/reference.nii.gz /data/segmentation.nii.gz

ARG MAKE_JOBS=1

FROM alpine:3.12.0 AS base
FROM base AS builder

RUN apk add --no-cache \
        cmake \
        g++ \
        gcc \
        git \
        linux-headers \
        make \
        perl

ARG MAKE_JOBS
WORKDIR /opt/itk-src
RUN wget -O- -q https://github.com/InsightSoftwareConsortium/ITK/releases/download/v5.1.1/InsightToolkit-5.1.1.tar.gz \
{'fraction_non_alphanumeric': 0.1176954732510288, 'fraction_numerical': 0.01810699588477366, 'mean_word_length': 2.3966480446927374, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7262519', 'n_tokens_mistral': 475, 'n_tokens_neox': 432, 'n_words': 105}