diff --git a/.github/workflows/mariadb.yml b/.github/workflows/mariadb.yml index 94dca5c33..796d1785e 100644 --- a/.github/workflows/mariadb.yml +++ b/.github/workflows/mariadb.yml @@ -22,6 +22,7 @@ jobs: - '10.5' - '10.6' - '10.7' + - '11.2' steps: - uses: actions/checkout@v4 - uses: docker/setup-qemu-action@v3 diff --git a/README.md b/README.md index ffee0668a..17ca3873e 100644 --- a/README.md +++ b/README.md @@ -177,6 +177,8 @@ is tagged correctly. * `ghcr.io/parkervcp/yolks:mariadb_10.6` * [`MariaDB 10.7`](/mariadb/10.7) * `ghcr.io/parkervcp/yolks:mariadb_10.7` + * [`MariaDB 11.2`](/mariadb/11.2) + * `ghcr.io/parkervcp/yolks:mariadb_11.2` ### [MongoDB](/mongodb) diff --git a/mariadb/11.2/Dockerfile b/mariadb/11.2/Dockerfile new file mode 100644 index 000000000..811ee7df6 --- /dev/null +++ b/mariadb/11.2/Dockerfile @@ -0,0 +1,19 @@ +# ----------------------------------------------------- +# MariaDB Image for Pterodactyl +# ----------------------------------------------------- +FROM --platform=$TARGETOS/$TARGETARCH mariadb:11.2 + +LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" + +ENV DEBIAN_FRONTEND noninteractive + +RUN apt update -y \ + && apt install -y netcat \ + && useradd -d /home/container -m container -s /bin/bash + +USER container +ENV USER=container HOME=/home/container +WORKDIR /home/container + +COPY ../entrypoint.sh /entrypoint.sh +CMD ["/bin/bash", "/entrypoint.sh"]