Skip to content

Commit b7d950e

Browse files
authored
Merge pull request #8 from devilbox/release-0.6
Add MariaDB 10.5
2 parents ad0d8f0 + 55ed94c commit b7d950e

4 files changed

Lines changed: 22 additions & 2 deletions

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ env:
4242
- V=mariadb-10.2
4343
- V=mariadb-10.3
4444
- V=mariadb-10.4
45+
- V=mariadb-10.5
4546
- V=percona-5.5
4647
- V=percona-5.6
4748
- V=percona-5.7

Dockerfiles/mariadb-10.5

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# vi: ft=dockerfile
2+
FROM mariadb:10.5
3+
4+
RUN set -eux \
5+
&& mkdir -p /etc/mysql/docker-default.d/ \
6+
&& if [ -f /etc/my.cnf ]; then \
7+
echo '!'"includedir /etc/mysql/docker-default.d/" >> /etc/my.cnf; \
8+
elif [ -f /etc/mysql/my.cnf ]; then \
9+
echo '!'"includedir /etc/mysql/docker-default.d/" >> /etc/mysql/my.cnf; \
10+
else \
11+
echo "/etc/my.cnf and /etc/mysql/my.cnf are not availanle"; \
12+
false; \
13+
fi

Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ FILES = Dockerfiles/
66
# CONVENIENCE TARGETS
77
# -------------------------------------------------------------------------------------------------
88

9-
build: build-mysql-5.5 build-mysql-5.6 build-mysql-5.7 build-mysql-8.0 build-mariadb-5.5 build-mariadb-10.0 build-mariadb-10.1 build-mariadb-10.2 build-mariadb-10.3 build-mariadb-10.4 build-percona-5.5 build-percona-5.6 build-percona-5.7 build-percona-8.0
9+
build: build-mysql-5.5 build-mysql-5.6 build-mysql-5.7 build-mysql-8.0 build-mariadb-5.5 build-mariadb-10.0 build-mariadb-10.1 build-mariadb-10.2 build-mariadb-10.3 build-mariadb-10.4 build-mariadb-10.5 build-percona-5.5 build-percona-5.6 build-percona-5.7 build-percona-8.0
1010

11-
test: test-mysql-5.5 test-mysql-5.6 test-mysql-5.7 test-mysql-8.0 test-mariadb-5.5 test-mariadb-10.0 test-mariadb-10.1 test-mariadb-10.2 test-mariadb-10.3 test-mariadb-10.4 test-percona-5.5 test-percona-5.6 test-percona-5.7 test-percona-8.0
11+
test: test-mysql-5.5 test-mysql-5.6 test-mysql-5.7 test-mysql-8.0 test-mariadb-5.5 test-mariadb-10.0 test-mariadb-10.1 test-mariadb-10.2 test-mariadb-10.3 test-mariadb-10.4 test-mariadb-10.5 test-percona-5.5 test-percona-5.6 test-percona-5.7 test-percona-8.0
1212

1313
login:
1414
yes | docker login --username $(USER) --password $(PASS)
@@ -61,6 +61,9 @@ build-mariadb-10.3:
6161
build-mariadb-10.4:
6262
while ! docker pull mariadb:10.4; do sleep 1; done
6363
docker build --no-cache -t $(IMAGE):mariadb-10.4 -f $(FILES)/mariadb-10.4 $(FILES)
64+
build-mariadb-10.5:
65+
while ! docker pull mariadb:10.5; do sleep 1; done
66+
docker build --no-cache -t $(IMAGE):mariadb-10.5 -f $(FILES)/mariadb-10.5 $(FILES)
6467

6568
test-mariadb-5.5:
6669
./tests/tests.sh "mariadb" "5.5"
@@ -74,6 +77,8 @@ test-mariadb-10.3:
7477
./tests/tests.sh "mariadb" "10.3"
7578
test-mariadb-10.4:
7679
./tests/tests.sh "mariadb" "10.4"
80+
test-mariadb-10.5:
81+
./tests/tests.sh "mariadb" "10.5"
7782

7883

7984
# -------------------------------------------------------------------------------------------------

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ For retagged information see below.
9494
| `mariadb:10.2` | `devilbox/mysql:mariadb-10.2` |
9595
| `mariadb:10.3` | `devilbox/mysql:mariadb-10.3` |
9696
| `mariadb:10.4` | `devilbox/mysql:mariadb-10.4` |
97+
| `mariadb:10.5` | `devilbox/mysql:mariadb-10.5` |
9798

9899
#### Percona
99100

0 commit comments

Comments
 (0)