From ca6cf09c6a2680b3540f532f3fe92dbaeb175b69 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Wed, 4 Jun 2025 00:34:01 +0200 Subject: [PATCH] Initial commit. --- Dockerfile | 21 +++++++++++++++++++++ README.md | 0 docker-compose.yml | 9 +++++++++ 3 files changed, 30 insertions(+) create mode 100644 Dockerfile create mode 100644 README.md create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3a5965e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +FROM rust:latest +WORKDIR /opt/rust +COPY . . + +RUN apt update -y && apt dist-upgrade -y +RUN apt install -y bash git protobuf-compiler vim + +RUN git clone --branch v0.7.1 --single-branch https://github.com/boxdot/gurk-rs.git gurk +RUN cargo build --manifest-path /opt/rust/gurk/Cargo.toml +RUN cp /opt/rust/gurk/target/debug/gurk /usr/bin/ + +RUN git clone --branch 25.01.1 --single-branch https://github.com/helix-editor/helix.git helix +RUN cargo build --manifest-path /opt/rust/helix/Cargo.toml +RUN cp /opt/rust/helix/target/debug/helix /usr/bin/ + +#RUN cargo build +#RUN cargo install --git https://github.com/boxdot/gurk-rs gurk +#RUN cargo install --path . +#CMD ["gurk" ] +#CMD ["bash" ] +ENTRYPOINT ["bash"] diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..db5afab --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +services: + rust: + build: + context: . + dockerfile: Dockerfile + container_name: rust + #tty: true + #environment: + # - CARGO_TARGET_DIR