Check the fluid level in the master cylinder reservoir. That light is usually associated with a low brake fluid level. If you're right on the borderline, it might be low when cold and immediately expanding a bit after you pump the pedal.
If you're consistently losing fluid, check connections...