public boolean isOffline() {
    return offline;
  }
Gets whether or not to run the build in offline mode.

@return {@code true} if the build will run in offline mode; {@code false} otherwise
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/BuildContext.java