Only version 5.7 has been customized.
Example with k8S @ https://github.com/neith00/seafile-k8s/blob/master/mysql/mysql-deployment.yaml
for a complete manual go to the original page @ https://github.com/mysql/mysql-docker
Docker image is @ https://quay.io/repository/neith00/mysql-docker?tab=tags