Created scripts for using the docker container

This commit is contained in:
Maddox Werts 2025-02-10 10:22:50 -05:00
parent 12d8abfd07
commit 8579b3731b
2 changed files with 16 additions and 0 deletions

9
scripts/build/build.sh Executable file
View file

@ -0,0 +1,9 @@
# Clearing The Screen
clear
# Building the Rust App
docker run --rm -it \
-v "$PWD/project:/src:Z" \
-v "$PWD/build:/app:Z" \
-e "PROJ_NAME=example" \
rust-buildbot $@

7
scripts/build/docker.sh Executable file
View file

@ -0,0 +1,7 @@
# Clearing The Screen
clear
# Building the Docker Container
docker build . \
-t rust-buildbot \
-f docker/build/Dockerfile