ViewTube / viewtube

▶️ ViewTube: The open source, privacy-conscious way to enjoy your favorite YouTube content. Docs: https://viewtube.wiki, Status: https://uptime.viewtube.io
https://viewtube.io
GNU Affero General Public License v3.0
1.31k stars 75 forks source link

The new docker images don't seem to be working on arm64 #1321

Closed moisout closed 1 year ago

moisout commented 2 years ago

The new docker images don't seem to be working on arm64 - they yield the same error as if I used the amd64 image on a Raspberry Pi 4B: viewtube | exec /usr/bin/node: exec format error

It works when building with build: ., but not with any images. Looking at the docker hub tags, all of the dev images have the linux/amd64 architecture, and manually specifying the mauriceo/viewtube:dev-linux-arm64 image has the same result as mauriceo/viewtube:dev

docker-compose.yml ```yaml version: "3" services: viewtube: build: . # works container_name: viewtube restart: unless-stopped #image: mauriceo/viewtube:dev # does not work #image: mauriceo/viewtube:dev-linux-arm64 # does not work depends_on: - viewtube-mongodb - viewtube-redis networks: - viewtube volumes: - /etc/localtime:/etc/localtime:ro - ./data:/data environment: - VIEWTUBE_URL=http://localhost:8066 - VIEWTUBE_DATABASE_HOST=viewtube-mongodb - VIEWTUBE_REDIS_HOST=viewtube-redis - VIEWTUBE_DATA_DIRECTORY=/data ports: - 8066:8066 viewtube-mongodb: container_name: viewtube-mongodb image: mongo:4.4 networks: - viewtube restart: unless-stopped volumes: - ./data/db:/data/db viewtube-redis: container_name: viewtube-redis image: redis:6 networks: - viewtube restart: unless-stopped volumes: - ./data/redis:/data networks: viewtube: ```

Originally posted by @Myned in https://github.com/ViewTube/viewtube-vue/issues/979#issuecomment-1067445351

InvisibleFunction commented 1 year ago

image

it looks like the images tagged as arm are actually amd64?

moisout commented 1 year ago

That's an old build. I am currently in the process of setting the up the builds properly. I'll update here!

moisout commented 1 year ago

There is now the nightly tag, which is available for arm, arm64 and amd64. It gets built every night off of the development branch. Once I have released this, the stable tag will also have all these architectures.

moisout commented 1 year ago

Please try the nightly version, and report if there are any issues!