I was taught in babble class that Joseph is mentioned to be a carpenter a couple of times(don't remember where exactly), and that it was assumed that his son would learn his trade by default.
The fool hath said in his heart, There is a God. They are corrupt, they have done abominable works, there is none that doeth good.
Psalm 14, KJV revised edition