Tiryoh / docker-ros2-desktop-vnc

🐳 Dockerfiles to provide HTML5 VNC interface to access Ubuntu Desktop + ROS 2
https://memoteki.net/archives/2955
Apache License 2.0
432 stars 85 forks source link

move `RUN rm docker-clean` command to diet image size #153

Closed takasehideki closed 7 months ago

takasehideki commented 7 months ago

This commit can reduce the size of docker images (7.28 GB to 6.33 GB for humble) while keeping apt-get completion feature by moving RUN rm /etc/apt/apt.conf.d/docker-clean to the later stage of Dockerfile.

We can close https://github.com/Tiryoh/docker-ros2-desktop-vnc/issues/152 when this commit will be merged as PR.

relate: https://github.com/Tiryoh/docker-ros2-desktop-vnc/issues/152#issuecomment-2041350516 https://askubuntu.com/questions/86375/apt-get-autocompletion-of-package-name-is-broken

Tiryoh commented 7 months ago

Hi @takasehideki, sorry for my late responding. Thanks for your contribution!