Giter Club home page Giter Club logo

Comments (5)

ieggel avatar ieggel commented on July 19, 2024 1

Hi @PatWie
Updated the repo in order to support the provision of the YAML config file.
Have a look here: https://github.com/ieggel/cluster-smi-docker

from cluster-smi.

PatWie avatar PatWie commented on July 19, 2024

I also thought about using docker. And I like docker-compose setups. But this is the beautify of Go. It is a simple portable binary. The only missing part is static linkage to libzmq.

Maybe
pebbe/zmq4#121
is worth a try.

from cluster-smi.

ieggel avatar ieggel commented on July 19, 2024

from cluster-smi.

PatWie avatar PatWie commented on July 19, 2024

I had a look at your Dockerfile. I suggest to use the CLUSTER_SMI_CONFIG_PATH env-var and add the YAML config file via a volume. So it can be re-used at different setups (different ips, ports, etc) without building the entire container from scratch.

From my understanding, https://github.com/ieggel/cluster-smi-docker/blob/master/Dockerfile#L34 this dynamic linkage does not work in general, when the path changes. Can you run the produced binary at a different machine?

I will consider this dockerfile for CI-testing though.

from cluster-smi.

ieggel avatar ieggel commented on July 19, 2024

from cluster-smi.

Related Issues (11)

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.