Closed liaoya closed 6 years ago
@liaoya the Dockerfile at https://github.com/garethr/kubeval/blob/master/Dockerfile.offline should do this I think. If not let me know.
Hi, @garethr
I used this before and it did work. Thanks a lot of the wonderful kubeval.
I want to use kubeval to validate my Kubernetes yaml file but our CI/CD runner cannot access Internet. I want to package json schema to our docker image.
I want openapi2jsonschema generate schema directly instead of clone https://github.com/garethr/kubernetes-json-schema and copy the files to my container
To verfiy
But I can run
openapi2jsonschema -o "master" --kubernetes https://raw.githubusercontent.com/kubernetes/kubernetes/master/api/openapi-spec/swagger.json
I need I use docker so that you can reproduce easily.
I look at https://raw.githubusercontent.com/garethr/kubernetes-json-schema/master/build.sh and generate my command