public Builder setOffline(boolean offline) {
      this.offline = offline;
      return this;
    }
Sets whether or not to perform the build in offline mode.

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