The Weizsaecker-Williams transverse momentum dependent (TMD) gluon distributions can be probed in the production of a hard dijet in semi-inclusive DIS. This process is sensitive not only to the conventional but also to the linearly polarized gluon distribution. The latter gives rise to an azimuthal dependence of the dijet cross section and therefore can be distinguished from the former. Feasibility study of a measurement of these TMDs through dijet production at a future electron-ion collider shows that the extraction of the distribution of linearly polarized gluons with a statistical accuracy of 5% will require estimated luminosity of 20 fb$^{-1}$/A.