2025-06-04 00:34:01 +02:00
|
|
|
FROM rust:latest
|
2025-06-04 02:06:41 +02:00
|
|
|
WORKDIR /home/rust-docker
|
|
|
|
|
#COPY . .
|
2025-06-04 00:34:01 +02:00
|
|
|
|
2025-06-04 02:06:41 +02:00
|
|
|
RUN apt update -y
|
|
|
|
|
RUN apt install -y apt-utils bash git mc protobuf-compiler vim
|
|
|
|
|
RUN apt dist-upgrade -y
|
2025-06-04 00:34:01 +02:00
|
|
|
|
2025-06-05 04:26:56 +02:00
|
|
|
#RUN git clone --branch v1.1.0 --single-branch https://github.com/microsoft/edit.git edit
|
|
|
|
|
#RUN cargo build --manifest-path /home/rust-docker/edit/Cargo.toml --profile dev
|
|
|
|
|
#RUN cp /home/rust-docker/edit/target/release/gurk /usr/bin/
|
|
|
|
|
|
2025-06-04 00:34:01 +02:00
|
|
|
RUN git clone --branch v0.7.1 --single-branch https://github.com/boxdot/gurk-rs.git gurk
|
2025-06-04 02:06:41 +02:00
|
|
|
RUN cargo build --manifest-path /home/rust-docker/gurk/Cargo.toml --profile release
|
|
|
|
|
RUN cp /home/rust-docker/gurk/target/release/gurk /usr/bin/
|
2025-06-04 00:34:01 +02:00
|
|
|
|
|
|
|
|
RUN git clone --branch 25.01.1 --single-branch https://github.com/helix-editor/helix.git helix
|
2025-06-04 02:06:41 +02:00
|
|
|
RUN cargo build --manifest-path /home/rust-docker/helix/Cargo.toml --profile release
|
|
|
|
|
RUN cp /home/rust-docker/helix/target/release/hx /usr/bin/
|
2025-06-04 00:34:01 +02:00
|
|
|
|
|
|
|
|
ENTRYPOINT ["bash"]
|
2025-06-04 02:06:41 +02:00
|
|
|
|