File tree 3 files changed +6
-7
lines changed
3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,9 @@ RUN sudo ln -sf /usr/bin/python$PYTHON_VER /usr/local/bin/python && sudo ln -sf
56
56
RUN echo "export PATH=/usr/local/bin:$PATH" >> /home/docker/.bashrc
57
57
58
58
# pybullet, robot_description, numpy, etc.
59
- RUN python$PYTHON_VER -m pip install --user --upgrade pip && python$PYTHON_VER -m pip install pybullet "numpy<2" scipy cython matplotlib roboticstoolbox-python --ignore-installed --verbose --no-cache-dir
59
+ RUN apt remove python3-psutil -y
60
+ RUN python$PYTHON_VER -m pip install --user --upgrade pip && python$PYTHON_VER -m pip install psutil pybullet "numpy<2" scipy cython matplotlib roboticstoolbox-python --ignore-installed --no-cache-dir
60
61
RUN cd /home/docker && git clone https://github.com/rustlluk/pyCub.git && cd pyCub && git checkout dev && python$PYTHON_VER setup.py install --user
61
- RUN python$PYTHON_VER -m pip install psutil --force-reinstall
62
62
63
63
# Delete thingies from aptitude
64
64
RUN rm -Rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ RUN cd /opt && wget https://download.jetbrains.com/python/pycharm-community-$PYC
74
74
# Manage ports
75
75
EXPOSE 5901 6080 8888 10000/tcp 10000/udp
76
76
77
- RUN python$PYTHON_VER -m pip install --upgrade pip && python$PYTHON_VER -m pip install "numpy<2" cython open3d pybullet roboticstoolbox-python --ignore-installed
78
- RUN python$PYTHON_VER -m pip install psutil --force-reinstall
77
+ RUN apt remove python3-psutil -y
78
+ RUN python$PYTHON_VER -m pip install --upgrade pip && python$PYTHON_VER -m pip install "numpy<2" cython open3d pybullet roboticstoolbox-python psutil --ignore-installed --no-cache-dir
79
79
80
80
#Add gitpod user with correct UID and GID; and add him to sudoers
81
81
RUN useradd -l -u 33333 -G sudo -md /home/gitpod -s /bin/bash gitpod && \
Original file line number Diff line number Diff line change @@ -74,9 +74,8 @@ RUN cd /opt && wget https://download.jetbrains.com/python/pycharm-community-$PYC
74
74
# Manage ports
75
75
EXPOSE 5901 6080 8888 10000/tcp 10000/udp
76
76
77
- RUN python$PYTHON_VER -m pip install --user --upgrade pip && python$PYTHON_VER -m pip install "numpy<2" cython open3d pybullet roboticstoolbox-python --ignore-installed
78
- RUN python$PYTHON_VER -m pip install psutil --force-reinstall
79
-
77
+ RUN apt remove python3-psutil -y
78
+ RUN python$PYTHON_VER -m pip install --user --upgrade pip && python$PYTHON_VER -m pip install "numpy<2" cython psutil open3d pybullet roboticstoolbox-python --ignore-installed --no-cache-dir
80
79
81
80
#Add docker user with correct UID and GID; and add him to sudoers
82
81
RUN useradd -l -u 33333 -G sudo -md /home/docker -s /bin/bash docker && \
You can’t perform that action at this time.
0 commit comments