Lucky bamboo is actually a type of dracaena, Dracaena sanderiana, also sometimes called ribbon dracaena. It can quite easily be grown in potting soil. Use a good, reliable all-purpose potting soil. Plant it at the same depth as it was growing in water. Keep the soil quite moist at first while the plant adjusts from growing completely in water to growing in soil.