Adding docker scripts for building with Rust in docker
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
FROM rust:1.80
|
||||||
|
|
||||||
|
WORKDIR /src
|
||||||
|
|
||||||
|
RUN apt update
|
||||||
|
RUN apt install -y lsof
|
||||||
|
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
docker-cargo.sh
|
||||||
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
docker run --rm -v $(pwd):/src --name zealot zealot cargo $@
|
||||||
|
|
||||||
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
docker build -t zealot .
|
||||||
|
|
||||||
Reference in New Issue
Block a user