Add dependency and ONBUILD instructions