diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..37799cf --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM rust:1.80 + +WORKDIR /src + +RUN apt update +RUN apt install -y lsof + diff --git a/bin/cargo.sh b/bin/cargo.sh new file mode 120000 index 0000000..f6fd6a7 --- /dev/null +++ b/bin/cargo.sh @@ -0,0 +1 @@ +docker-cargo.sh \ No newline at end of file diff --git a/bin/docker-cargo.sh b/bin/docker-cargo.sh new file mode 100755 index 0000000..75a58fc --- /dev/null +++ b/bin/docker-cargo.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +docker run --rm -v $(pwd):/src --name zealot zealot cargo $@ + diff --git a/bin/docker-image.sh b/bin/docker-image.sh new file mode 100755 index 0000000..6035d76 --- /dev/null +++ b/bin/docker-image.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +docker build -t zealot . +