@Override
  public boolean equals(Object other) {
    if (this == other) {
      return true;
    }
    if (!(other instanceof Platform)) {
      return false;
    }
    Platform otherPlatform = (Platform) other;
    return architecture.equals(otherPlatform.getArchitecture()) && os.equals(otherPlatform.getOs());
  }
Represents an image platform (for example, "amd64/linux").
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/Platform.java