Skip to content

Commit

Permalink
Add mariadb 10.6, 10.11, 11.1, 11.2, 11.4, 11.5
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Jul 19, 2024
1 parent 6b4757e commit e79562f
Show file tree
Hide file tree
Showing 12 changed files with 120 additions and 0 deletions.
11 changes: 11 additions & 0 deletions mariadb-10-11/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM mariadb:10.11

ENV MARIADB_ROOT_PASSWORD=docker

RUN apt update && apt install wait-for-it

COPY /entrypoint.sh /usr/local/bin/entrypoint.sh

ENTRYPOINT ["entrypoint.sh"]

CMD ["echo", "OK"]
9 changes: 9 additions & 0 deletions mariadb-10-11/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
set -eo pipefail
set -x

/docker-entrypoint.sh mysqld 1>/srv/output.log 2>&1 &

wait-for-it localhost:3306 --timeout=30 --strict 1>/srv/output.log 2>&1

exec "$@"
11 changes: 11 additions & 0 deletions mariadb-10-6/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM mariadb:10.6

ENV MARIADB_ROOT_PASSWORD=docker

RUN apt update && apt install wait-for-it

COPY /entrypoint.sh /usr/local/bin/entrypoint.sh

ENTRYPOINT ["entrypoint.sh"]

CMD ["echo", "OK"]
9 changes: 9 additions & 0 deletions mariadb-10-6/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
set -eo pipefail
set -x

/docker-entrypoint.sh mysqld 1>/srv/output.log 2>&1 &

wait-for-it localhost:3306 --timeout=30 --strict 1>/srv/output.log 2>&1

exec "$@"
11 changes: 11 additions & 0 deletions mariadb-11-1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM mariadb:11.1

ENV MARIADB_ROOT_PASSWORD=docker

RUN apt update && apt install wait-for-it

COPY /entrypoint.sh /usr/local/bin/entrypoint.sh

ENTRYPOINT ["entrypoint.sh"]

CMD ["echo", "OK"]
9 changes: 9 additions & 0 deletions mariadb-11-1/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
set -eo pipefail
set -x

/docker-entrypoint.sh mysqld 1>/srv/output.log 2>&1 &

wait-for-it localhost:3306 --timeout=30 --strict 1>/srv/output.log 2>&1

exec "$@"
11 changes: 11 additions & 0 deletions mariadb-11-2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM mariadb:11.2

ENV MARIADB_ROOT_PASSWORD=docker

RUN apt update && apt install wait-for-it

COPY /entrypoint.sh /usr/local/bin/entrypoint.sh

ENTRYPOINT ["entrypoint.sh"]

CMD ["echo", "OK"]
9 changes: 9 additions & 0 deletions mariadb-11-2/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
set -eo pipefail
set -x

/docker-entrypoint.sh mysqld 1>/srv/output.log 2>&1 &

wait-for-it localhost:3306 --timeout=30 --strict 1>/srv/output.log 2>&1

exec "$@"
11 changes: 11 additions & 0 deletions mariadb-11-4/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM mariadb:11.4

ENV MARIADB_ROOT_PASSWORD=docker

RUN apt update && apt install wait-for-it

COPY /entrypoint.sh /usr/local/bin/entrypoint.sh

ENTRYPOINT ["entrypoint.sh"]

CMD ["echo", "OK"]
9 changes: 9 additions & 0 deletions mariadb-11-4/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
set -eo pipefail
set -x

/docker-entrypoint.sh mysqld 1>/srv/output.log 2>&1 &

wait-for-it localhost:3306 --timeout=30 --strict 1>/srv/output.log 2>&1

exec "$@"
11 changes: 11 additions & 0 deletions mariadb-11-5/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM mariadb:11.5

ENV MARIADB_ROOT_PASSWORD=docker

RUN apt update && apt install wait-for-it

COPY /entrypoint.sh /usr/local/bin/entrypoint.sh

ENTRYPOINT ["entrypoint.sh"]

CMD ["echo", "OK"]
9 changes: 9 additions & 0 deletions mariadb-11-5/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
set -eo pipefail
set -x

/docker-entrypoint.sh mysqld 1>/srv/output.log 2>&1 &

wait-for-it localhost:3306 --timeout=30 --strict 1>/srv/output.log 2>&1

exec "$@"

0 comments on commit e79562f

Please sign in to comment.