  Delivering a reproducible environment along with complex and up-to-date
software stacks on thousands of distributed and heterogeneous worker nodes is a
critical task. The CernVM-File System (CVMFS) has been designed to help various
communities to deploy software on worldwide distributed computing
infrastructures by decoupling the software from the Operating System. However,
the installation of this file system depends on a collaboration with system
administrators of the remote resources and an HTTP connectivity to fetch
dependencies from external sources. Supercomputers, which offer tremendous
computing power, generally have more restrictive policies than grid sites and
do not easily provide the mandatory conditions to exploit CVMFS. Different
solutions have been developed to tackle the issue, but they are often specific
to a scientific community and do not deal with the problem in its globality. In
this paper, we provide a generic utility to assist any community in the
installation of complex software dependencies on supercomputers with no
external connectivity. The approach consists in capturing dependencies of
applications of interests, building a subset of dependencies, testing it in a
given environment, and deploying it to a remote computing resource. We
experiment this proposal with a real use case by exporting Gauss-a Monte-Carlo
simulation program from the LHCb experiment-on Mare Nostrum, one of the top
supercomputers of the world. We provide steps to encapsulate the minimum
required files and deliver a light and easy-to-update subset of CVMFS: 12.4
Gigabytes instead of 5.2 Terabytes for the whole LHCb repository.
