Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (26 sloc) 860 Bytes
id title
Offline Builds

esy supports workflow where builds should happen on a machine which is completely offline (doesn't have network access).

To do that you need to use --cache-tarballs-path option when running esy install command:

  1. On a machine which has network access execute:

    % esy install --cache-tarballs-path=./_esyinstall

    this will create _esyinstall directory with all downloaded dependencies' sources.

  2. Tranfer an entire project directory along with _esyinstall to a machine which doesn't have access to an external network.

  3. Execute the same installation command

    % esy install --cache-tarballs-path=./_esyinstall

    which will unpack all source tarballs into cache.

  4. Run

    % esy build

    and other esy commands.