You shouldn´t have to do it yourself. I would deffo go with @Tom suggestion, but use Samco or similar hoses with good quality clamps.
Édit´ also sounds like you may have an airlock which is forcing the hose to come off. It´s hot hereat the moment, how´s the temperature of the bike? Ok?