A neighbour here (SW France) moved a fig tree from a dry pebbly spot against an outside house wall to a similar dry pebbly spot agaist a barn and it did well; Perhaps rather droopy at first.Here's some info from google:
"Growing conditions
Fig thrives best in areas of moderate relative humidity and can be grown at higher elevations in areas of low rainfall. Fig requires some dry months, particularly at the flowering and fruiting periods and some sources, state that they require some winter chilling. They are light demanding plants and will grow best with 8 hours or more of direct sunlight. Fig can grow in virtually any soil type but prefer a sandy-clay loam within a pH range of 6.0 to 8.0 tolerating soils with high lime content. A soil depth of 1 – 1.5 m is sufficient for growth. Figs can also grow in rocky areas from sea level to 1,700 meters."