Posts tagged robot

1 post

Using Codex to create a Dockerfile from a running system

I've been dreading this: My robot's rasberry pi 5 was built months ago. I have been using it a lot, installing, updating and changing code and config. All my code is separately in github repos. But there is a lot more state than the github repos. It is in config files, pip installs, and so on. I started to worry about the scenario where the MicroSD on the Pi just bites the dust. This does happen, randomly, and occasionally.

alt text

I could make a full and faithful copy of the MicroSD. It's a little time consuming but not hard. I could start over with a clean Ub...

Read more →