Code Monkey home page Code Monkey logo

Comments (5)

brilthor avatar brilthor commented on May 30, 2024

Not sure if this will be helpful, however in the meantime you could take the dockerfile https://github.com/dmitrif/onvif2mqtt/blob/master/Dockerfile and rebuild it on the raspberry pi to test with in the interim.

from onvif2mqtt.

peteeee avatar peteeee commented on May 30, 2024

Thank you brilthor.

I have never rebuilt a docker file to work on the RPi.

How do I go about that?

from onvif2mqtt.

brilthor avatar brilthor commented on May 30, 2024

it looks like the docker image this dockerfile is based on has arm versions:

image

As such I think you would just check this repository out on the raspberry pi and point your docker-compose file to this directory or if you're working with a bare image run the appropriate docker build command

from onvif2mqtt.

dmitrif avatar dmitrif commented on May 30, 2024

Hi, unfortunately I have no plans to currently add docker compilations for any other os targets. If someone is willing, please submit a PR revising to a multi-pronged Docker build and I will merge / review the PR.

from onvif2mqtt.

jsiedentop avatar jsiedentop commented on May 30, 2024

Building multi arch images is actually not a big deal and is well described in the documentary.

This should do all the work:

docker buildx create --name mybuilder --use
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t username/demo:latest --push .

I found no github workflow in this repo for the docker build/push, so I was not able to do a pull request. But if you are looking for inspiration on how to create a workflow for this task, I can recommend this blog post.

from onvif2mqtt.

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.