VZFI2TLZJDZKS2SVBV3JMAPESLV7CIO5GBYWPEXJUXKLOFCA4N5AC
#!/usr/bin/env bash
# TODO: dynamically install pijul at ${PIJUL_VERSION} if it's not already installed
REPO_DIR="/tmp/repo"
git clone "${GIT_REPO}" "${REPO_DIR}"
pijul git "${REPO_DIR}" | ts -s
FROM rust:buster
ARG DEBIAN_FRONTEND=noninteractive
ENV PIJUL_VERSION="~1.0.0-beta"
ENV GIT_REPO="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
RUN apt-get update -y
RUN apt-get install -y make libsodium-dev libclang-dev pkg-config libssl-dev libxxhash-dev libzstd-dev clang moreutils
RUN cargo install pijul --features git --version "${PIJUL_VERSION}"
COPY profile.sh /tmp/profile.sh
CMD ["/tmp/profile.sh"]