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

Missing armv7 builds #306

Closed
glecoz opened this issue Jan 2, 2024 · 2 comments
Closed

Missing armv7 builds #306

glecoz opened this issue Jan 2, 2024 · 2 comments

Comments

@glecoz
Copy link
Contributor

glecoz commented Jan 2, 2024

I was wondering why my Apple TV wasn't turning off properly while leaving home, just because the MQTT /powerState subtopic wasn't published anymore to my broker, so I just updated my docker-compose file with the latest armv7 image available :

image: sebbo2002/pyatv-mqtt-bridge:80a6b204a0b95acd608b179abb2e2d8f9136fb0e

Now it's working fine again, but would you mind providing the armv7 images again (if built automatically) ? There are still tons of Raspberry Pi armv7 online out there (mine is Pi 4 B bought brand new 2 years ago), bcs we now get the following error :

docker pull sebbo2002/pyatv-mqtt-bridge

Using default tag: latest
latest: Pulling from sebbo2002/pyatv-mqtt-bridge
no matching manifest for linux/arm/v7 in the manifest list entries

Otherwise we need to git pull your repo regularly, and docker-compose --build each time from your Dockerfile. 😓

Thanks.

image

@sebbo2002
Copy link
Owner

Docker Images for armv7 were removed with pyatv-mqtt-bridge@7.0.0 as pyatv removed their armv7 images as well. You can easily check this by building the current Dockerfile:

docker build -t pyatv-mqtt-bridge --platform linux/arm/v7 .                       ✘ 1 
[+] Building 1.2s (3/3) FINISHED                                                            docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                        0.0s
 => => transferring dockerfile: 1.04kB                                                                      0.0s
 => [internal] load .dockerignore                                                                           0.0s
 => => transferring context: 87B                                                                            0.0s
 => ERROR [internal] load metadata for ghcr.io/postlund/pyatv:latest                                        1.1s
------
 > [internal] load metadata for ghcr.io/postlund/pyatv:latest:
------
Dockerfile:14
--------------------
  12 |     
  13 |     
  14 | >>> FROM ghcr.io/postlund/pyatv:latest
  15 |     ARG NODE_ENV=production
  16 |     ENV NODE_ENV=$NODE_ENV
--------------------
ERROR: failed to solve: ghcr.io/postlund/pyatv:latest: no match for platform in manifest sha256:779d835e3bfb83bdbfbf472acc9ea77cce8f166554335006a5beac3cee528132: not found

The Docker image of pyatv-mqtt-bridge is based on this Docker image, so I had to stop the v7 support as well. Please open a ticket for pyatv to reintroduce armv7 there, afterwards I can do the same here.

@glecoz
Copy link
Contributor Author

glecoz commented Jan 2, 2024

Thx for the detailed answer, request sent.

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

No branches or pull requests

2 participants