Skip to content

Commit

Permalink
alias fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gurjant Singh authored and Gurjant Singh committed Jul 13, 2019
1 parent 3aa6336 commit b45d87b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ sudo docker build \
-t pdocker .

# Add the alias to bashrc
echo "# Pdocker alias" >> ~/.bashrc
echo "# Pdocker alias" >> ~/.profile
# Add -v ~/hostpath/Projects:/Projects to share volume
echo "alias pdocker=`pwd`/pdocker.sh" >> ~/.bashrc

source ~/.bashrc
echo "alias pdocker=`pwd`/pdocker.sh" >> ~/.profile
source ~/.profile

echo "[*] Image Building Complete."
echo "[*] Use pdocker to start the enviroment. Enjoy."

0 comments on commit b45d87b

Please sign in to comment.