DISCOWER / PX4-Space-Systems

PX4 Space Systems Fork
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Started on the DockerFiles #21

Open joris997 opened 1 month ago

joris997 commented 1 month ago

I started on the dockerfiles with GUI support so that, with minimal effort, anyone can get the SITL simulation running.

Currently, I'm having issues with source commands of setup.bash files which break the docker (returning error code 1).

To use it right now, follow the instructions in the README.md, but be advised that you need to run all commands by copying them from the complete docker file to the terminal in the docker instance.

joris997 commented 1 month ago

Additionally, we should try it with a clean jammy docker from here: https://hub.docker.com/r/kasmweb/core-ubuntu-jammy

Currently, there are some commands that remove fluff (e.g. zoom etc.) plus their desktop shortcuts, but that's a bit silly.

joris997 commented 4 weeks ago

I checked out the core-ubuntu-jammy from kasm, which takes only 2.6 GB (without our stuff). I've discussed with Pedro that it might be a good option to have both a GUI-supported docker, and a 'minimal-as-possible' version for CI. What do you think @Jaeyoung-Lim?

I've just committed code for a working core-ubuntu-jammy version that works. Issue is now that the resulting image size is somehow 57 GB :) I will try to fix this as using the bigger ubuntu-jammy-desktop image (with zoom, gimp, etc.) and running the commands manually in the docker led to an image size of 6.7 GB.

Jaeyoung-Lim commented 4 weeks ago

@joris997 Why not just use the docker images distributed by docker? I still don't understand what we get from kasm. You can enable GUI without kasm

joris997 commented 4 weeks ago

@Jaeyoung-Lim do you have an example for this? I haven't worked much with docker + GUI support but just had good experience with kasm.