dockerized 3-tier build