Closed venthur closed 3 years ago
I forgot, here's how to use it:
docker build -t structurizr-cli
docker run --rm -ti -v $PWD/:/cli structurizr-cli validate -w workspace.dsl
Thanks, I have a Dockerfile that's work in progress already, and it also supports the new version of the CLI (which is no longer packaged as a Spring Boot app). You can try it by:
docker run -it --rm -v $PWD:/usr/local/structurizr structurizr/cli validate -w workspace.dsl
Excellent news! Maybe you could update the documentation here that refers to the other two docker projects (the first one of them is outdated for a couple of months already) and mention the official image instead. That would also close #50
The documentation is already changed ... I need to release a new version of the DSL parser onto Maven Central before a CLI release can happen, so I've not pushed any changes to the CLI repo yet.
If you want, you can use this as a starting point for a Dockerfile.
Your customers will appreciate an "official" docker image as we get it for the structurizr-lite -- also this way we don't run into potential issues with the -cli image being out of date.
Closes: #50