php-app/mariadb/Dockerfile

18 lines
266 B
Docker
Raw Normal View History

2020-09-04 23:31:05 +02:00
FROM alpine:3.12
LABEL maintainer = "bisco - <bisco@younerd.org>"
RUN apk add --update --no-cache \
bash \
mariadb \
mariadb-client
ADD docker-entrypoint.sh /
EXPOSE 3306
VOLUME ["/var/lib/mysql"]
STOPSIGNAL SIGTERM
ENTRYPOINT ["/docker-entrypoint.sh"]