diff --git a/Dockerfile b/Dockerfile index b6f7972..2bd9610 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,8 +38,6 @@ apt-get install --no-install-recommends -y \ python3-pip \ python3-testresources \ - python3-pil \ - python3-pil.imagetk \ gedit \ ros-noetic-rosserial \ ros-noetic-rosserial-arduino \ @@ -82,6 +80,8 @@ RUN pip3 install --upgrade --no-cache-dir pip && \ pip3 install --no-cache-dir \ pymodbus && \ + python3 -m pip install --upgrade pip && \ + python3 -m pip install --upgrade Pillow && \ cd /home/ubuntu/catkin_ws/src/ZLAC8015D_python && \ python3 setup.py install && \ usermod -a -G dialout $USER