/docker-beautifiers

Docker images for code beautifiers/formatters

Primary LanguageDockerfileMIT LicenseMIT

Docker Beautifiers Build Status

Docker images for code beautifiers/formatters.

Docker Images

See list of beautifier Docker images at https://hub.docker.com/u/unibeautify/

Name Build Status Pulls Stars Size
autopep8 Docker Build Status Docker Pulls Docker Stars Docker Size
beautysh Docker Build Status Docker Pulls Docker Stars Docker Size
black Docker Build Status Docker Pulls Docker Stars Docker Size
brittany Docker Build Status Docker Pulls Docker Stars Docker Size
ClangFormat Docker Build Status Docker Pulls Docker Stars Docker Size
Crystal Docker Build Status Docker Pulls Docker Stars Docker Size
elm-format Docker Build Status Docker Pulls Docker Stars Docker Size
goimports Docker Build Status Docker Pulls Docker Stars Docker Size
ocp-indent Docker Build Status Docker Pulls Docker Stars Docker Size
php-cs-fixer Docker Build Status Docker Pulls Docker Stars Docker Size
phpcbf Docker Build Status Docker Pulls Docker Stars Docker Size
puppet-lint Docker Build Status Docker Pulls Docker Stars Docker Size
Rscript Docker Build Status Docker Pulls Docker Stars Docker Size
rubocop Docker Build Status Docker Pulls Docker Stars Docker Size
ruby-beautify Docker Build Status Docker Pulls Docker Stars Docker Size
sass-convert Docker Build Status Docker Pulls Docker Stars Docker Size
sqlformat Docker Build Status Docker Pulls Docker Stars Docker Size
uncrustify Docker Build Status Docker Pulls Docker Stars Docker Size

Installation

Docker is required.

Using Whalebrew

  1. Install Whalebrew
  2. whalebrew install unibeautify/BEAUTIFIER
    e.g. whalebrew install unibeautify/php-cs-fixer
  3. Profit! You can now run the installed beautifier command.
    e.g. php-cs-fixer --version

Manually

  1. Pull the Docker image: docker pull unibeautify/BEAUTIFIER
    e.g. docker pull unibeautify/php-cs-fixer
  2. Run the Docker image: docker run -it -v "$(pwd)":/workdir -w /workdir unibeautify/BEAUTIFIER "--version"
    e.g. docker run -it -v "$(pwd)":/workdir -w /workdir unibeautify/php-cs-fixer "--version"

Note: Some tools could change file ownership/permissions upon reformat and/or rewriting. Adding --user "$(id -u):$(id -g)" to your docker run command should prevent this.