Git Product home page Git Product logo

Comments (4)

Luligu avatar Luligu commented on September 14, 2024 1

I opened a discussion since is not an issue making a HA integration.
#39

from matterbridge.

t0bst4r avatar t0bst4r commented on September 14, 2024 1

Boot speed and storage init

Maybe we don’t need a -build option, but an -init option. That would be more understandable, isn’t it?

Alpine

Here is the dockerfile:
https://github.com/t0bst4r/matterbridge-home-assistant-addon/blob/main/docker/Dockerfile

It’s still WIP, and as you see it’s also using node-18. I‘ve had the same issue and several other people, too.

Quote from Home Assistant:

Main reason for this, is because in Alpine 3.19 shipped with NodeJS v20, which, at the time of writing, could not be used on armv7 when building Docker images. This is caused by a QEMU bug, which has been known since 2020.

from matterbridge.

Luligu avatar Luligu commented on September 14, 2024 1

Can we move on the discussion ?

from matterbridge.

Luligu avatar Luligu commented on September 14, 2024

Hi,
is actually made on purpose to speed up the loading.
It's clear that if you want to run matterbride building the docker image, it doesn't work for you.
I could add some param like -build to solve it eventually... but there are other part of the startup where I intentionally don't await.
I'm interested in the docker image with alpine. I tried a lot of time but the best I could make was:
FROM alpine:3.18.4 as base

FROM alpine:latest as base not working

FROM node:20-alpine as base not working

Then actually takes 30 minutes to build on all the archs: linux/amd64,linux/arm64,linux/arm/v7
Also just have node 18 so ... not really the best.
Were you been able to do better with alpine?
Can you share the link of your Docker file if you made better ?

from matterbridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.