zachauten / dprint-docker

Dockerfile for dprint + java formatter

Repository from Github https://github.comzachauten/dprint-dockerRepository from Github https://github.comzachauten/dprint-docker

dprint-docker

Dockerized dprint, with support for java (maybe more later)

building image

docker -t dprint .

running image

You will need to mount the source code that you're formatting to the container. It's easier to mount it to a subdirectory of the image's workdir, /app.

docker run --rm -it -v $(pwd)/src:/app/src dprint check

About

Dockerfile for dprint + java formatter

License:MIT License


Languages

Language:Dockerfile 93.3%Language:Java 6.7%