Attaching enclosure without drilling all the way through the deck

Should be I think they sell 8mm deep to.

Would 10mm be too close to drilling straight through?

It still has almost 3 mm