Added script to compile the program through Docker

This commit is contained in:
Gregory Ballantine 2022-02-25 16:23:18 -05:00
parent b1255c451e
commit a9b1ffa614

3
bin/docker-build.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
docker run --rm --user "$(id -u)":"$(id -g)" -v "$PWD":/usr/src/hardware-tests -w /usr/src/hardware-tests rust:1.59 cargo build --release