An open API service indexing awesome lists of open source software.

https://github.com/naoigcat/docker-rubocop

Docker Image for RuboCop
https://github.com/naoigcat/docker-rubocop

dockerfile rubocop

Last synced: 4 months ago
JSON representation

Docker Image for RuboCop

Awesome Lists containing this project

README

          

# Docker RuboCop

[![Docker Builds](https://github.com/naoigcat/docker-rubocop/actions/workflows/push.yml/badge.svg)](https://github.com/naoigcat/docker-rubocop/actions/workflows/push.yml)

[![GitHub Stars](https://img.shields.io/github/stars/naoigcat/docker-rubocop.svg)](https://github.com/naoigcat/docker-rubocop/stargazers)
[![Docker Pulls](https://img.shields.io/docker/pulls/naoigcat/rubocop)](https://hub.docker.com/r/naoigcat/rubocop)

**Docker Image for [RuboCop](https://rubocop.org)'s Gem**

## Installation

```sh
docker pull naoigcat/rubocop
```

## Usage

```sh
docker run --rm -v "$PWD":/app naoigcat/rubocop
```

### Tags

This repository publishes images on tag push. Common tag formats are:

- `${RUBOCOP_VERSION}-ruby${RUBY_VERSION}` (most reproducible)
- `ruby${RUBY_VERSION}`

Example:

```sh
docker run --rm -v "$PWD":/app naoigcat/rubocop:1.81.0-ruby3.4
```