The best way to dim LEDs is with a pulse-width modulation system - this turns them off and on faster than the eye can see, and dims by changing the ratio of off-time to on-time.
They are easily found, here's an
example of an adjustable one, although in this application a sealed waterproof one might be better.