Adding docker scripts for building with Rust in docker

This commit is contained in:
2025-07-14 12:38:46 -04:00
parent d56f7f2f0f
commit 144ce0885c
4 changed files with 16 additions and 0 deletions

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM rust:1.80
WORKDIR /src
RUN apt update
RUN apt install -y lsof

1
bin/cargo.sh Symbolic link
View File

@ -0,0 +1 @@
docker-cargo.sh

4
bin/docker-cargo.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
docker run --rm -v $(pwd):/src --name zealot zealot cargo $@

4
bin/docker-image.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
docker build -t zealot .