Skip to content

Commit ada2827

Browse files
authored
Add files via upload
rm libs from docker install, rm source, init and build commands from script, add echo for commands to exe
1 parent e0b0d48 commit ada2827

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

setup_docker_env.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,15 @@ echo -e '\033[0;33mCreating Aliase in ZSH.....\033[0m'
7171
echo "alias $ali_init=\"bash $path/init_docker.sh\"" >> $zshrc
7272
echo "alias $ali_build=\"docker build -t valgrind - < $path/valgrind\"" >> $zshrc
7373
echo "alias $ali_valgrind='docker run -ti -v \$PWD:/code -v \"$path/root\":/root valgrind bash'" >> $zshrc
74-
source $zshrc
74+
75+
echo -e '\e\033[0;32mPlease source your zshrc new now with:"source ~/.zshrc".\e\033[0m'
7576

7677
echo -e '\033[0;33mCreating Scripts.....\033[0m'
7778
cp "$PWD/init_docker.sh" "$path/"
7879
cp "$PWD/valgrind" "$path/"
7980

80-
echo -e '\033[0;33mBuilding your first Container.....\033[0m'
81-
bash "$path/init_docker.sh"
82-
docker build -t valgrind - < "$path/valgrind"
83-
8481
echo "Installation completed. Enjoy Docker :)"
82+
83+
echo -e "\e\033[0;32mInit your Docker now with >$ali_init<.\e\033[0m"
84+
echo -e "\e\033[0;32mMake sure your Docker is running and build your Container with >$ali_build<.\e\033[0m"
85+
echo -e "\e\033[0;32mStart the Container in your project with >$ali_valgrind<.\e\033[0m"

valgrind

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@ RUN apt-get upgrade -y
55
RUN apt-get install g++ valgrind -y
66
RUN apt-get install make
77
RUN apt-get install nano -y
8-
RUN apt-get install libreadline6 libreadline6-dev -y
9-

0 commit comments

Comments
 (0)