You don’t think keelhauling would be funny? Falls more in line with leaving a noose in someone’s sleeping area than a few lashes on deck.
Easy. Hang the perpetrator for treason. That’s how the military can root out all the racists that seem to have infected its walls, floorboards, and very foundation. Stop the fucking around and coddling.