- Must have
Dockerfile
inside project, that able to rundocker built -t test:1.0.0 ./
- Image must be expose port as 80
- Image after build could run directly without any config file, config only accept to inject by environment variables
docker run -e "MYSQL_HOST=127.0.0.1" -e "MYSQL_USERNAME=root" test:1.0.0
- Must have Jenkins file follow this pattern
pipeline {
agent any