Skip to content
Snippets Groups Projects
Commit ebff4f39 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Docker] add colored terminal

parent 7411a139
No related branches found
No related tags found
No related merge requests found
......@@ -42,5 +42,6 @@ RUN chown -R $UNAME:$GNAME /home/$UNAME
USER $UNAME
RUN echo "source \$VIVADO_PATH/settings64.sh" >> /home/$UNAME/.bashrc
RUN echo "PS1='\[\033[1;36m\]\u\[\033[1;31m\]@\[\033[1;32m\]\h:\[\033[1;35m\]\w\[\033[1;31m\]\$\[\033[0m\] '" >> /home/$UNAME/.bashrc
WORKDIR /home/$UNAME/finn
......@@ -74,7 +74,7 @@ docker build --tag=$DOCKER_TAG \
--build-arg PASSWD=$DOCKER_PASSWD \
.
# Launch container with current directory mounted
docker run --rm --name finn_dev_$DOCKER_UNAME -it \
docker run -t --rm --name finn_dev_$DOCKER_UNAME -it \
-e "XILINX_VIVADO=$VIVADO_PATH" \
-e "SHELL=/bin/bash" \
-v $SCRIPTPATH:/workspace/finn \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment