What about replacing the piston and the dust cover? will that work too?
with NEW ones (from say the rebuild kit) yes,
with used ones (say from another caliper) no.
but you should replace
all seals not just one..
it's safe to assume that all seals are the exact same age
if you increase pressure by fixing the leak
the next brittle seal will spring a leak
and you'll be starting over in just a few days after fixing it.
don't take any chances with the brakes..
fix it properly or don't even start fixing it
just buy a new caliper instead.
So best advice is to see what the manufacturer advises you to swap.
(easiest by getting the original rebuild kit)
With brakes like yours it's usually a very short list of parts anyways.
'sid