Friday, October 4, 2019

How to create the Dockerfile for Jsonnet

We can use this in the windows operating system.



FROM bitnami/jsonnet:latest

COPY ./demo /var
WORKDIR /var/demo/

ENTRYPOINT [ "jsonnet", "/demo-app-gce.jsonnet" ]

The Directory used in the Dockerfile  ( 

reference repo : https://github.com/spinnaker/spinnaker/tree/master/sponnet/demo

).

run this command to test the jsonnet file:

docker run -it --rm jsonnet-image





No comments:

Post a Comment