Comments (5)
Yes, that would be really great to have. But we have different dockerfiles for different architectures because of the complexity of the environment. At the time of writing the CI/CD there was no support (or just i was not able to find a way) for this in docker buildx.
PR to rework CI/CD to support this functionality are welcome, maybe things habe changed over the years.
from neko.
I started to look into .docker and GHA workflows, i see there is a base image used as base (hihi) for later images and a lot of version for intel or other thing.
Nowadays to generate an image multiarch it's pretty simple :
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: user/app:latest
How's the overhead for different image (VAAPI/Nvidia, ..) ? Could it be reunite in one image for the sake of simplicity ?
Anyway if i'll find time i'll try to make something and upgrade action version at the same time. Is every Dockerfile up to date ?
from neko.
Actually i think base image is not needed, we can directly build final image and avoid another step. And in the mean time step-up to Bookworm.
from neko.
Not having base image would mean, the build provides needs to be copied over to every single image that we are building. I can think of some dockerfile generator that would prepare such dockerfiles without having code duplication. But on the other hand i would like to keep the build process as simple as it can be.
from neko.
Check this.
The second way to do it is to manually create manifests with docker manifest
(this allows to build arm64 and amd64 separately in different jobs but more complicated):
https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/
https://medium.com/@life-is-short-so-enjoy-it/docker-how-to-build-and-push-multi-arch-docker-images-to-docker-hub-64dea4931df9
Note that arm64 (or any other architecture built with GitHub Actions using QEMU emulation) is 6 times slower than amd64.
from neko.
Related Issues (20)
- is there any way to use onboard display card for hardware acceleration? HOT 7
- NVidia XFCE client reconnect loop due to peer data channel closed HOT 5
- NAT1TO1 and Stunner Turn Server
- Intel ARC GPU support HOT 9
- Issue with Raspberry Pi 4 HOT 15
- Playwright automation guide HOT 2
- Running neko with caddy - 404 error
- WebRTC with cloudflare HOT 4
- Is there a way please to clear IP bans without restarting the room? HOT 5
- I cannot control anything ! HOT 4
- [Feature] Add environment variable to configure Timezone HOT 2
- Option to disable auto broadcast if NEKO_BROADCAST_URL is set. HOT 9
- Automagically disable Broadcast after given Time if no one in the Room
- Support Audio Input (bidirectional audio) HOT 2
- Black Screen Issues while using private docker container behind a nodejs proxy server HOT 17
- Allow setting NAT1TO1 as hostname
- Neko Breaks (cannot login anymore) if dynamic Ip changes HOT 4
- [HELP] Simply stream a PID HOT 2
- Did someone run selenium script in google-chrome docker? It will stuck at webdriver.Chrome HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neko.