public Builder addLayer(Layer layer) throws LayerPropertyNotFoundException {
      imageLayersBuilder.add(layer);
      return this;
    }
Adds a layer to the image.

@param layer the layer to add
@return this
@throws LayerPropertyNotFoundException if adding the layer fails
jib-core/src/main/java/com/google/cloud/tools/jib/image/Image.java