mirror of
https://github.com/dandavison/delta.git
synced 2026-02-03 11:33:26 +01:00
15 lines
327 B
Docker
15 lines
327 B
Docker
FROM ubuntu:latest
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y curl git less gcc
|
|
|
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
|
|
RUN git clone https://github.com/dandavison/delta.git
|
|
WORKDIR delta
|
|
RUN /root/.cargo/bin/cargo build --release
|
|
|
|
ENV PATH="${PWD}/target/release:${PATH}"
|
|
|
|
CMD delta
|