How run java and maven on gitlab runner that run as docker container

I suggest to start here Get started with GitLab CI/CD | GitLab