Created scripts for using the docker container
This commit is contained in:
parent
12d8abfd07
commit
8579b3731b
2 changed files with 16 additions and 0 deletions
9
scripts/build/build.sh
Executable file
9
scripts/build/build.sh
Executable 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
7
scripts/build/docker.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
# Clearing The Screen
|
||||||
|
clear
|
||||||
|
|
||||||
|
# Building the Docker Container
|
||||||
|
docker build . \
|
||||||
|
-t rust-buildbot \
|
||||||
|
-f docker/build/Dockerfile
|
Loading…
Reference in a new issue