Giter Club home page Giter Club logo

Comments (11)

hausdorff avatar hausdorff commented on August 21, 2024 3

This is resolved now: https://github.com/ksonnet/ksonnet-lib/blob/master/Dockerfile

You can write a function like below and call ksonnet <args, files, etc> and it will work like it's installed on your filesystem.

ksonnet() {
  docker run -it --rm   \
    --volume "$PWD":/wd \
    --workdir /wd       \
    ksonnet             \
    jsonnet "$@"
}

from ksonnet-lib.

hausdorff avatar hausdorff commented on August 21, 2024 2

This is a good idea. I'll try to pull this together some time in the next few days.

from ksonnet-lib.

hausdorff avatar hausdorff commented on August 21, 2024 1

@yanana Alright, I'll put the image in ksonnet/ksonnet-lib, and we'll maintain that. I believe @anguslees has access to the ksonnet Dockerhub, though, so we have to wait until he gets back online. (He lives in Australia.)

from ksonnet-lib.

hausdorff avatar hausdorff commented on August 21, 2024 1

Alright, @yanana you can obtain obtain the official image from[1]. You will probably want to use the ksonnet/ksonnet-lib:beta.2.

EDIT: Instructions for use are at [2].

[1] https://hub.docker.com/r/ksonnet/ksonnet-lib/tags/
[2] https://hub.docker.com/r/ksonnet/ksonnet-lib/

from ksonnet-lib.

anguslees avatar anguslees commented on August 21, 2024

Not the original request, but consider also just downloading a kubecfg release. It's a single pre-built binary that statically includes jsonnet, so it's very easy to install (for common architectures).

from ksonnet-lib.

yanana avatar yanana commented on August 21, 2024

@anguslees Could kubecfg be complete alternative to ksonnet?

from ksonnet-lib.

yanana avatar yanana commented on August 21, 2024

@hausdorff Does the image exist in any public Docker repository?

from ksonnet-lib.

hausdorff avatar hausdorff commented on August 21, 2024

@yanana kubecfg is part of the ksonnet project. And, the image does not exist anywhere official, I'm not sure where we should put it. But it should be trivial enough to build.

from ksonnet-lib.

yanana avatar yanana commented on August 21, 2024

@hausdorff Thanks for your reply. I'm going to see kubecfg deeper. And I believe the most important thing is that the official image, in particular version, is available publicly. I and my colleagues hope they were published on Docker Hub. In other words, we want to pull the image as docker pull ksonnet/ksonnet-lib.

from ksonnet-lib.

yanana avatar yanana commented on August 21, 2024

@hausdorff I appreciate your dedication. It looks working well πŸ‘

from ksonnet-lib.

redbaron avatar redbaron commented on August 21, 2024

Images on docker hub are not being updated :(

from ksonnet-lib.

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.