Joseph's importance is emphasized by the genealogy that traces through him. Even though Joseph is a step-father, the Gospel of Matthew is careful to explore the genealogical connection through David. Matthew also points out that Joseph was visited by an angel who convinced him of Mary's virtue. There would be no breech of his honor to take Mary as his wife. Still with all the confidence God put in Joseph, the scripture devotes little time or ink to him in the Gospels.
I have been taught that he is assumed to have died by the time Jesus was grown. There is no mention of him after Jesus' twelfth birthday. Jesus would have learned the builder's trade from Joseph even though his calling from God was to preach and heal and establish the Church. Some comentators point out that houses in Israel were built from stone, not wood and lumber, so he would have been a stone mason rather than a carpenter. Boats were built of wood and some of the furniture and doors so I have reason to believe he was also skilled in working with wood.