diff --git a/scripts/build/build.sh b/scripts/build/build.sh new file mode 100755 index 0000000..de9638e --- /dev/null +++ b/scripts/build/build.sh @@ -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 $@ \ No newline at end of file diff --git a/scripts/build/docker.sh b/scripts/build/docker.sh new file mode 100755 index 0000000..eb3b007 --- /dev/null +++ b/scripts/build/docker.sh @@ -0,0 +1,7 @@ +# Clearing The Screen +clear + +# Building the Docker Container +docker build . \ + -t rust-buildbot \ + -f docker/build/Dockerfile \ No newline at end of file