Skip to content

Commit

Permalink
Merge pull request #8 from devilbox/release-0.6
Browse files Browse the repository at this point in the history
Add MariaDB 10.5
  • Loading branch information
cytopia authored Nov 8, 2020
2 parents ad0d8f0 + 55ed94c commit b7d950e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ env:
- V=mariadb-10.2
- V=mariadb-10.3
- V=mariadb-10.4
- V=mariadb-10.5
- V=percona-5.5
- V=percona-5.6
- V=percona-5.7
Expand Down
13 changes: 13 additions & 0 deletions Dockerfiles/mariadb-10.5
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# vi: ft=dockerfile
FROM mariadb:10.5

RUN set -eux \
&& mkdir -p /etc/mysql/docker-default.d/ \
&& if [ -f /etc/my.cnf ]; then \
echo '!'"includedir /etc/mysql/docker-default.d/" >> /etc/my.cnf; \
elif [ -f /etc/mysql/my.cnf ]; then \
echo '!'"includedir /etc/mysql/docker-default.d/" >> /etc/mysql/my.cnf; \
else \
echo "/etc/my.cnf and /etc/mysql/my.cnf are not availanle"; \
false; \
fi
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ FILES = Dockerfiles/
# CONVENIENCE TARGETS
# -------------------------------------------------------------------------------------------------

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
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

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
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

login:
yes | docker login --username $(USER) --password $(PASS)
Expand Down Expand Up @@ -61,6 +61,9 @@ build-mariadb-10.3:
build-mariadb-10.4:
while ! docker pull mariadb:10.4; do sleep 1; done
docker build --no-cache -t $(IMAGE):mariadb-10.4 -f $(FILES)/mariadb-10.4 $(FILES)
build-mariadb-10.5:
while ! docker pull mariadb:10.5; do sleep 1; done
docker build --no-cache -t $(IMAGE):mariadb-10.5 -f $(FILES)/mariadb-10.5 $(FILES)

test-mariadb-5.5:
./tests/tests.sh "mariadb" "5.5"
Expand All @@ -74,6 +77,8 @@ test-mariadb-10.3:
./tests/tests.sh "mariadb" "10.3"
test-mariadb-10.4:
./tests/tests.sh "mariadb" "10.4"
test-mariadb-10.5:
./tests/tests.sh "mariadb" "10.5"


# -------------------------------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ For retagged information see below.
| `mariadb:10.2` | `devilbox/mysql:mariadb-10.2` |
| `mariadb:10.3` | `devilbox/mysql:mariadb-10.3` |
| `mariadb:10.4` | `devilbox/mysql:mariadb-10.4` |
| `mariadb:10.5` | `devilbox/mysql:mariadb-10.5` |

#### Percona

Expand Down

0 comments on commit b7d950e

Please sign in to comment.