Giter Club home page Giter Club logo

Comments (6)

huiser avatar huiser commented on August 22, 2024

Dockerfile.txt

from mosquitto-go-auth.

iegomez avatar iegomez commented on August 22, 2024

There's an ongoing bug when using cgo (which the plugin uses to implement mosquitto's expected plugin interface) on Alpine as it uses muslibc instead of glibc, as referenced in #14.

I mentioned some possible workarounds at #15 (comment), but still haven't tried any of those, so it'd be really helpful if you are willing and have the time to give it a go.

from mosquitto-go-auth.

huiser avatar huiser commented on August 22, 2024

I can't get it working with Alpine, using the suggestion above.
I switched to the 'debian:stable-slim' base image, for now. If I have time, I will give it another try.

from mosquitto-go-auth.

iegomez avatar iegomez commented on August 22, 2024

Ok, thanks. I don't use docker and don't have the time right now to learn it properly and come up with a decent image, but I'll leave this open for the future.

In case you get it to work or believe that an alternative such as using debian:stable-slim is good enough and you want to contribute with docker related additions just make a PR, or let me know if you'd like me to link to an external repo with instructions on how to run a docker image with mosquitto and the plugin in the documentation.

from mosquitto-go-auth.

iegomez avatar iegomez commented on August 22, 2024

Hi, @huiser. I tried some workarounds a couple of days ago but couldn't get it to work with Alpine. I had started building another image based on debian:stable-slim but we got robbed at work and hadn't pushed it.

So I intend to rework on it next monday and add it to the repo in a docker directory that would look something like this:

-mosquitto-go-atuh
  -docker
    -auth
      acls
      passwords
  Dockerfile
  mosquitto.conf
  go-auth.conf

That's unless you wish to contribute your debian:stable-slim image. Just let me know if that's the case.

from mosquitto-go-auth.

iegomez avatar iegomez commented on August 22, 2024

I just added an example based in debian:stable-slim at the docker dir.
As I mentioned earlier and now at the example's readme, any contributions or help is very welcome.

from mosquitto-go-auth.

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.