feat: add MariaDB Images (#38)

This commit is contained in:
Torsten Widmann
2022-01-23 14:58:11 +01:00
committed by GitHub
parent 6ca451ec48
commit fc453017ff
8 changed files with 163 additions and 1 deletions

19
mariadb/10.4/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# -----------------------------------------------------
# MariaDB Image for Pterodactyl
# -----------------------------------------------------
FROM mariadb:10.4
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"]