Skip to content

harryuan65/rubocop-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rubocop docker

How it works

Mount your app at /app and run bundle exec rubocop.

Pull Image

harryuan65/rubocop-docker:latest

Usage

For CI Stage

  1. specify image: harryuan65/rubocop-docker
  2. stage run command rubocop
  3. done.

For Local Projects

Build image Locally

Intel Mac

docker build . -t lint

M1 Mac

docker build --platform linux/amd64 . -t lint

Lint your project

  1. pull the image
  2. cd inside your project
  3. run docker run --rm -v "$PWD:/app" lint in your project's directory.
  4. done.

Dockerhub

https://hub.docker.com/repository/docker/harryuan65/rubocop-docker/general

About

Allows you to lint ruby in CI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published