Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a dockerized environment for ARM64 #200

Open
agalbachicar opened this issue Dec 28, 2023 · 3 comments
Open

Provide a dockerized environment for ARM64 #200

agalbachicar opened this issue Dec 28, 2023 · 3 comments
Labels
enhancement New feature or request infrastructure

Comments

@agalbachicar
Copy link
Member

Desired behavior

Reduce the time to deploy an Andino bot in a fully functional system.

Alternatives considered

Probably there are many out there, like from a bash script, having an image of the SD card, etc. etc. etc.
However, I think that starting by having a dockerized version that can be built in a host machine (x86) that mimics the build procedure in the final architecture (arm64) allows to catch issues with incompatible processes and test many things in CI (not yet, Github Actions doesn't support arm64 yet).

Implementation suggestion

I would consider building in stages and providing multiple images:

  • Image for development in RPI, but with no workspace specific dependency. (A)
  • Image that clones the repo, installs the workspace, builds and tests the packages in andino. (B)
  • Image that mounts the repo as a volume and it is suitable for continuous development. (C)

B depends on A.
C depends on A.

A and B can be distributed via Github, probably.

Additional context

Running https://github.com/Ekumen-OS/andino/tree/humble/andino_hardware is tedious. At least, we can reduce the burden by providing the specifics of software packages installed in a docker container.

@agalbachicar agalbachicar added the enhancement New feature or request label Dec 28, 2023
@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Andino Roadmap Dec 28, 2023
@agalbachicar
Copy link
Member Author

Connected with #20

@agalbachicar
Copy link
Member Author

Connected to #51

@marcoshuck
Copy link
Member

marcoshuck commented Jan 3, 2024

https://docs.docker.com/build/ci/github-actions/multi-platform/ In case this becomes relevant. You can set up QEMU to build for arm64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request infrastructure
Projects
Status: 🆕 Backlog
Development

No branches or pull requests

2 participants