1
0

」 feat(Mariadb): Started dockerfile

This commit is contained in:
2024-12-22 18:56:32 +01:00
parent 9b2023aaa7
commit 5e57f79294
8 changed files with 80 additions and 9 deletions

View File

@ -0,0 +1,20 @@
FROM alpine:3.21
LABEL version="0.1"
LABEL maintainer="KeyZox"
RUN groupadd -r mysql \
&& useradd -r -g mysql mysql --home-dir /var/lib/mysql
RUN set -x \
&&
VOLUME /var/lib/mysql
COPY healthcheck.sh /healthcheck.sh
COPY docker-entrypoints.sh /docker-entrypoints.sh
ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE 3306
CMD [ "mariadbd" ]