halestudio / hale-cli

hale command line interface
GNU Lesser General Public License v3.0
1 stars 6 forks source link

Dockerfile for Hub image #15

Closed nuest closed 6 months ago

nuest commented 8 years ago

I didn't find a Dockerfile for the image on the Docker Hub: https://hub.docker.com/r/wetransform/hale-cli/

Could you point me to it, and maybe even some documentation and examples?

Feel also free to add the information yourself to https://wiki.osgeo.org/wiki/DockerImages

stempler commented 8 years ago

Dockerfile Creating the Docker image right now is part of the Gradle build process for this project. So currently the only Dockerfile involved here is a temporary file.

Documentation and examples hale-cli as dedicated project is quite new and there hasn't been a release yet. Documentation on the tool is only available for the transform command, as the arguments there are the same than for running the CLI provided in the desktop version. See the corresponding documentation here. The call HALE -nosplash -application hale.transform mentioned in the documentation is roughly equivalent to:

docker run --rm wetransform/hale-cli transform

Though if using this to run a transformation, you will probably add some mounted volumes at least (i addition to all the other parameters needed).

For other commands there is no documentation yet, except the usage provided by the tool, e.g. via:

docker run --rm wetransform/hale-cli --help

Behavior of the tool may be different to the behavior of the CLI of the desktop version, as some dependencies have not been added yet (like PostGIS support).