add docker version

This commit is contained in:
Ludovic CANDELLIER
2023-09-13 23:04:55 +02:00
parent 5f215cef81
commit bc7880b242
53 changed files with 24012 additions and 0 deletions

20
docker/mysql/Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
ARG MYSQL_VERSION
FROM mysql:latest
LABEL maintainer="Ludovic CANDELLIER <ludo@huma.net>"
#####################################
# Set Timezone
#####################################
ARG TZ=UTC
ENV TZ ${TZ}
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && chown -R mysql:root /var/lib/mysql/
COPY my.cnf /etc/mysql/conf.d/my.cnf
RUN chmod 0444 /etc/mysql/conf.d/my.cnf
CMD ["mysqld"]
EXPOSE 3306