Skip to content

Commit

Permalink
upgrade pillow version to fix issues running on docker (#6)
Browse files Browse the repository at this point in the history
* upgrade pillow version to fix issues running on docker

* undo requirements.txt, add in entrypoint.sh script

* entrypoint -> cmd
  • Loading branch information
thejerrytan authored Feb 26, 2019
1 parent 39a0699 commit 319b765
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ RUN mkdir /capstone
VOLUME ["/capstone"]
VOLUME ["/root/.ros/log/"]
WORKDIR /capstone/ros

CMD ["bash", "../entrypoint.sh"]
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
pip uninstall --yes Pillow
yes | pip install Pillow==4.3
bash

0 comments on commit 319b765

Please sign in to comment.