「🏗️」 wip: work in progress, not done yet.
This commit is contained in:
@ -3,16 +3,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 groupadd --gid 999 -r mysql \
|
||||
&& useradd -r -g mysql mysql --home-dir /var/lib/mysql --uid 999
|
||||
|
||||
ENV LANG C.UTF-8
|
||||
|
||||
RUN set -x \
|
||||
&&
|
||||
&& apk add --no-cache mariadb gosu \
|
||||
&& gosu --version \
|
||||
&& gosu nobody true
|
||||
|
||||
VOLUME /var/lib/mysql
|
||||
|
||||
COPY healthcheck.sh /healthcheck.sh
|
||||
COPY docker-entrypoints.sh /docker-entrypoints.sh
|
||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT [ "docker-entrypoint.sh" ]
|
||||
|
||||
|
3
srcs/requirements/mariadb/docker-entrypoint.sh
Normal file
3
srcs/requirements/mariadb/docker-entrypoint.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec $@
|
Reference in New Issue
Block a user