<commit_before>ARG ALPINE_VER=3.9
################################################################################
# Source
################################################################################
FROM alpine:${ALPINE_VER} AS source-bx

ENV BASE_DIR /bitcoin

RUN apk add --no-cache curl

ENV BITCOIN_VER=0.18.1
ENV BITCOIN_URL=https://bitcoin.org/bin/bitcoin-core-${BITCOIN_VER}/bitcoin-${BITCOIN_VER}-x86_64-linux-gnu.tar.gz
RUN mkdir ${BASE_DIR}
RUN curl -sSL ${BITCOIN_URL} \
        | tar --strip-components=1 -xzf - -C ${BASE_DIR}

ENV BX_VER 3.2.0
ENV BX_URL https://github.com/libbitcoin/libbitcoin-explorer/releases/download/v${BX_VER}/bx-linux-x64-qrcode
RUN curl -sSL -o ${BASE_DIR}/bin/bx ${BX_URL} \
    && chmod +x ${BASE_DIR}/bin/bx


################################################################################
# Source
################################################################################
FROM buildpack-deps:stretch AS source-vanitygen
RUN apt-get update && apt-get install -y libssl1.0-dev
ENV VANITYGEN_PLUS_VER=1.53
ENV VANITYGEN_PLUS_VER_PREFIX=PLUS
ENV VANITYGEN_PLUS_REPO=https://github.com/exploitagency/vanitygen-plus.git
ENV VANITYGEN_PLUS_DIR=/vanitygen-plus
RUN mkdir $VANITYGEN_PLUS_DIR
WORKDIR $VANITYGEN_PLUS_DIR
RUN git init \
  && git remote add origin $VANITYGEN_PLUS_REPO \
  && git fetch --depth 1 origin $VANITYGEN_PLUS_VER_PREFIX$VANITYGEN_PLUS_VER \
  && git reset --hard FETCH_HEAD

RUN make
<commit_msg>* Update bitcoin to 0.19.1.<commit_after>ARG ALPINE_VER=3.9
################################################################################
# Source
################################################################################
FROM alpine:${ALPINE_VER} AS source-bx

ENV BASE_DIR /bitcoin

RUN apk add --no-cache curl

ENV BITCOIN_VER=0.19.1
ENV BITCOIN_URL=https://bitcoin.org/bin/bitcoin-core-${BITCOIN_VER}/bitcoin-${BITCOIN_VER}-x86_64-linux-gnu.tar.gz
RUN mkdir ${BASE_DIR}
RUN curl -sSL ${BITCOIN_URL} \
        | tar --strip-components=1 -xzf - -C ${BASE_DIR}

ENV BX_VER 3.2.0
ENV BX_URL https://github.com/libbitcoin/libbitcoin-explorer/releases/download/v${BX_VER}/bx-linux-x64-qrcode
RUN curl -sSL -o ${BASE_DIR}/bin/bx ${BX_URL} \
    && chmod +x ${BASE_DIR}/bin/bx


################################################################################
# Source
################################################################################
FROM buildpack-deps:stretch AS source-vanitygen
RUN apt-get update && apt-get install -y libssl1.0-dev
ENV VANITYGEN_PLUS_VER=1.53
ENV VANITYGEN_PLUS_VER_PREFIX=PLUS
ENV VANITYGEN_PLUS_REPO=https://github.com/exploitagency/vanitygen-plus.git
ENV VANITYGEN_PLUS_DIR=/vanitygen-plus
RUN mkdir $VANITYGEN_PLUS_DIR
WORKDIR $VANITYGEN_PLUS_DIR
RUN git init \
  && git remote add origin $VANITYGEN_PLUS_REPO \
  && git fetch --depth 1 origin $VANITYGEN_PLUS_VER_PREFIX$VANITYGEN_PLUS_VER \
  && git reset --hard FETCH_HEAD

RUN make

{'fraction_non_alphanumeric': 0.31389830508474575, 'fraction_numerical': 0.016271186440677966, 'mean_word_length': 5.894859813084112, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '4090208', 'n_tokens_mistral': 1056, 'n_tokens_neox': 992, 'n_words': 186}