etc/docker/ubuntu.Dockerfile
raw| 1 | FROM ubuntu:latest |
| 2 | |
| 3 | RUN apt-get update && \ |
| 4 | apt-get install -y curl git less gcc |
| 5 | |
| 6 | RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y |
| 7 | |
| 8 | RUN git clone https://github.com/dandavison/delta.git |
| 9 | WORKDIR delta |
| 10 | RUN /root/.cargo/bin/cargo build --release |
| 11 | |
| 12 | ENV PATH="${PWD}/target/release:${PATH}" |
| 13 | |
| 14 | CMD delta |