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

Docker image update for Raspberry / arm #1579

Closed
damajor opened this issue Mar 4, 2021 · 9 comments
Closed

Docker image update for Raspberry / arm #1579

damajor opened this issue Mar 4, 2021 · 9 comments
Assignees
Labels

Comments

@damajor
Copy link

damajor commented Mar 4, 2021

Step 1: Have you search for this issue before posting it?

If you have discovered a bug in the bot, please search our issue tracker.
If it hasn't been reported, please create a new issue.

Step 2: Describe your environment

  • OS : [RaspberryOS]

Step 3: Describe the problem:

The docker image on Docker Hub is only for x86 architecture.

Expected behavior

To be consistent with the documentation (which gives some tips to use OctoBot on Raspberry PI), the users should be able to pull an arm version of the docker image of OctoBot (which is not the case at this moment).

@Herklos
Copy link
Member

Herklos commented Mar 4, 2021

Hi @damajor, we currently have an issue with one of the library we use in OctoBot that prevent arm64 docker image to build. We are waiting for a new release of this library that will fix the issue.

@Herklos Herklos self-assigned this Mar 4, 2021
@Herklos
Copy link
Member

Herklos commented Mar 4, 2021

We will keep this issue up to date with the latest information about the armv7 image.

@Herklos
Copy link
Member

Herklos commented Mar 4, 2021

In the next release, binary and installation from pypi (pip) will be available for raspberry users (arm64).

@damajor
Copy link
Author

damajor commented Mar 4, 2021

Which library is causing issue ?

@Herklos
Copy link
Member

Herklos commented Mar 4, 2021

Which library is causing issue ?

aiohttp (aio-libs/aiohttp#5366)

@gabriel-milan
Copy link
Contributor

Hi there.

Before anything else, thanks for this amazing project!

I've been trying to run OctoBot on my RPi, that's how I got here.
Reading that same issue on aiohttp you've mentioned, and I see that you've tried bumping aiohttp to 3.7.4 on 27180f6 but, unfortunately, as noticed on aio-libs/aiohttp#5366 (comment), this version still has the same issue with chardet dependency. A couple of days later, they have released 3.7.4.post0 (aio-libs/aiohttp#5366 (comment)) which, according to commit aio-libs/aiohttp@934e5cb, fixes the chardet issue.

Hope this helps with the arm/v7 docker builds. I have tried to build it on my own, but unfortunately I'm facing an issue with cryptography, due to its recent dependency on Rust (pyca/cryptography#5771). I could just work around this but didn't intend to mess with your Dockerfile. Do you think it's possible for the arm/v7 builds to be back?

Herklos added a commit that referenced this issue Mar 21, 2021
GuillaumeDSM pushed a commit that referenced this issue Mar 23, 2021
Herklos added a commit that referenced this issue Mar 25, 2021
@gabriel-milan
Copy link
Contributor

@damajor the latest build of the Docker image now supports arm/v7 again. Please check https://hub.docker.com/r/drakkarsoftware/octobot/tags?page=1&ordering=last_updated

I think that's probably OK for us to close this now.

@Herklos
Copy link
Member

Herklos commented Mar 26, 2021

@damajor the latest build of the Docker image now supports arm/v7 again. Please check https://hub.docker.com/r/drakkarsoftware/octobot/tags?page=1&ordering=last_updated

I think that's probably OK for us to close this now.

Yes it's working, thanks @gabriel-milan !

@SerenityNrrd
Copy link

I use Tipi on my Raspbery Pi but i am not a big coder.. how hard would it be to create Ocotbot as a Tipi app? Then it would be a Very easy install and self hosted alternative. Tipi is just a Docker and apps are just run on it.
https://github.com/meienberger/runtipi/wiki/Adding-your-own-app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants