Comments (11)
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.
This is a good idea. I'll try to pull this together some time in the next few days.
from ksonnet-lib.
@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.
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.
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.
@anguslees Could kubecfg be complete alternative to ksonnet?
from ksonnet-lib.
@hausdorff Does the image exist in any public Docker repository?
from ksonnet-lib.
@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.
@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.
@hausdorff I appreciate your dedication. It looks working well π
from ksonnet-lib.
Images on docker hub are not being updated :(
from ksonnet-lib.
Related Issues (20)
- Configure ksonnet-lib in travis ci
- k8s version vs lib version HOT 1
- Can't reference ingressRule in ksonnet-lib HOT 5
- volumeMount: RUNTIME ERROR: Field does not exist: withReadOnly HOT 4
- mapContainersWithName: RUNTIME ERROR: Field does not exist: Inter HOT 2
- newConstructor doesn't honor argument order?
- Make `items` optional in `fromConfigMap()` HOT 1
- Some with* missing self +
- Object Field could be a binary
- Field expression doesnβt imply an object comprehension
- ObjectField keys can be any valid Jsonnet expression
- apps.v1.deployment should have mandatory selector argument in constructor
- apps.v1.deployment constructor match pods across deployments
- Update official Docker image
- Cannot use the apiregistraion API
- status is not a var in hidden.
- Support for Kubernetes 1.9
- ksonnet-lib to be supported or not ? HOT 2
- Release v0.1.13
- jb: error: failed to install: stat vendor/k.libsonnet/jsonnetfile.lock.json: not a directory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ksonnet-lib.