<commit_before># Test Database Dockerfiles

This repository contains **Dockerfiles** of various SQL DBMSes optimized for testing for [Docker](https://www.docker.com/)'s [automated build](https://hub.docker.com/r/sergeymakinen/oracle/) published to [Docker Hub](https://hub.docker.com/).

[![Build Type](https://img.shields.io/docker/automated/sergeymakinen/test-db.svg?style=flat-square)](https://hub.docker.com/r/sergeymakinen/test-db/) [![Total Stars](https://img.shields.io/docker/stars/sergeymakinen/test-db.svg?style=flat-square)](https://hub.docker.com/r/sergeymakinen/test-db/) [![Total Pulls](https://img.shields.io/docker/pulls/sergeymakinen/test-db.svg?style=flat-square)](https://hub.docker.com/r/sergeymakinen/test-db/) [![License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)

## Supported tags and respective `Dockerfile` links

* `cubrid-9.3` [(CUBRID 9.3/Dockerfile)](CUBRID%209.3/Dockerfile)
* `cubrid-10.0` [(CUBRID 10.0/Dockerfile)](CUBRID%2010.0/Dockerfile)
* `mssql-17.0` [(MS SQL 17.0/Dockerfile)](MS%20SQL%2017.0/Dockerfile)
* `mysql-5.0` [(MySQL 5.0/Dockerfile)](MySQL%205.0/Dockerfile)
* `mysql-5.1` [(MySQL 5.1/Dockerfile)](MySQL%205.1/Dockerfile)
* `oracle-11.2` [(Oracle 11.2/Dockerfile)](Oracle%2011.2/Dockerfile)
* `postgresql-9.3` [(PostgreSQL 9.3/Dockerfile)](PostgreSQL%209.3/Dockerfile)

## Installation

1. Install [Docker](https://www.docker.com/).

2. Download [automated build](https://hub.docker.com/r/sergeymakinen/test-db/) from [Docker Hub](https://hub.docker.com/): 

```bash
docker pull sergeymakinen/test-db:tag
```

## How to use the CUBRID image

#### Start an instance

```bash
docker run --name some-cubrid -p 33000:33000 -d sergeymakinen/test-db:cubrid-9.3
```

#### Start with persistent storage

```bash<commit_msg>Fix dockerfile links<commit_after># Test Database Dockerfiles

This repository contains **Dockerfiles** of various SQL DBMSes optimized for testing for [Docker](https://www.docker.com/)'s [automated build](https://hub.docker.com/r/sergeymakinen/oracle/) published to [Docker Hub](https://hub.docker.com/).

[![Build Type](https://img.shields.io/docker/automated/sergeymakinen/test-db.svg?style=flat-square)](https://hub.docker.com/r/sergeymakinen/test-db/) [![Total Stars](https://img.shields.io/docker/stars/sergeymakinen/test-db.svg?style=flat-square)](https://hub.docker.com/r/sergeymakinen/test-db/) [![Total Pulls](https://img.shields.io/docker/pulls/sergeymakinen/test-db.svg?style=flat-square)](https://hub.docker.com/r/sergeymakinen/test-db/) [![License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)

## Supported tags and respective `Dockerfile` links

* `cubrid-9.3` [(CUBRID 9.3/Dockerfile)](https://github.com/sergeymakinen/docker-test-db/blob/master/CUBRID%209.3/Dockerfile)
* `cubrid-10.0` [(CUBRID 10.0/Dockerfile)](https://github.com/sergeymakinen/docker-test-db/blob/master/CUBRID%2010.0/Dockerfile)
* `mssql-17.0` [(MS SQL 17.0/Dockerfile)](https://github.com/sergeymakinen/docker-test-db/blob/master/MS%20SQL%2017.0/Dockerfile)
* `mysql-5.0` [(MySQL 5.0/Dockerfile)](https://github.com/sergeymakinen/docker-test-db/blob/master/MySQL%205.0/Dockerfile)
* `mysql-5.1` [(MySQL 5.1/Dockerfile)](https://github.com/sergeymakinen/docker-test-db/blob/master/MySQL%205.1/Dockerfile)
* `oracle-11.2` [(Oracle 11.2/Dockerfile)](https://github.com/sergeymakinen/docker-test-db/blob/master/Oracle%2011.2/Dockerfile)
* `postgresql-9.3` [(PostgreSQL 9.3/Dockerfile)](https://github.com/sergeymakinen/docker-test-db/blob/master/PostgreSQL%209.3/Dockerfile)

## Installation

1. Install [Docker](https://www.docker.com/).

2. Download [automated build](https://hub.docker.com/r/sergeymakinen/test-db/) from [Docker Hub](https://hub.docker.com/): 

```bash
docker pull sergeymakinen/test-db:tag
```

## How to use the CUBRID image

#### Start an instance

```bash
docker run --name some-cubrid -p 33000:33000 -d sergeymakinen/test-db:cubrid-9.3
```

#### Start with persistent storage

```bash
{'fraction_non_alphanumeric': 0.19713084343309423, 'fraction_numerical': 0.040069255503339105, 'mean_word_length': 5.250386398763524, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 33, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4750329', 'n_tokens_mistral': 1750, 'n_tokens_neox': 1553, 'n_words': 193}