<commit_before># About

Dockerized RPM building tool for any platforms based on [RPMBuilder](https://github.com/essentialkaos/rpmbuilder).

## Requirements

- Docker 1.11 or higher

## Getting started

Build Docker images with RPMBuilder locally.

```shell
cd rpmbuilder6/
docker build -t rpmbuilder6 .

cd ../rpmbuilder7/
docker build -t rpmbuilder7 .
```

Pay attention, image name is mandatory. You can easily change the name in `dkrpm` shell script in `DKR_RPMB_PREFIX` variable, but image name should be ended by number of major RHEL/CentOS version.

```shell
[sudo] cp dkrpm /usr/local/bin/
[sudo] chmod +x /usr/local/bin/
```

Done.

## Usage<commit_msg>Add extra information about installed repositories.<commit_after># About

Dockerized RPM building tool for any platforms based on [RPMBuilder](https://github.com/essentialkaos/rpmbuilder).

## Requirements

- Docker 1.11 or higher

## Getting started

Build Docker images with RPMBuilder locally.

```shell
cd rpmbuilder6/
docker build -t rpmbuilder:6 .

cd ../rpmbuilder7/
docker build -t rpmbuilder:7 .
```

Pay attention, image name is mandatory. You can easily change the name in `dkrpm` shell script in `DKR_RPMB_PREFIX` variable, but tag should be the major version of RHEL/CentOS.

```shell
[sudo] cp dkrpm /usr/local/bin/
[sudo] chmod +x /usr/local/bin/
```

Done. Now you can invoke `dkrpm` command to build your RPM.

## Available repositories

Docker images provide the following repositories by default.

#### CentOS/RHEL 6

- [EPEL](https://fedoraproject.org/wiki/EPEL)
- [ESSENTIAL KAOS](https://github.com/essentialkaos/kaos-repo)
- [Software Collections](https://linux.web.cern.ch/linux/other.shtml)

#### CentOS/RHEL 7

- [EPEL](https://fedoraproject.org/wiki/EPEL)
- [ESSENTIAL KAOS](https://github.com/essentialkaos/kaos-repo)

_In case you need to setup your custom repository, please make changes to `Dockerfile` and build your own image._

## Usage
{'fraction_non_alphanumeric': 0.11341273951320559, 'fraction_numerical': 0.008285862247540134, 'mean_word_length': 4.278688524590164, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '30140', 'n_tokens_mistral': 685, 'n_tokens_neox': 635, 'n_words': 212}