Layer

  • ::in_workdir(+dir): Temporary change the image's working directory, affecting any operations inside the operator.

  • ::in_env(+key, +value): Temporary set environment variable, affecting any operations inside the operator.

  • ::merge: Squash anything inside into one image layer.

    The only allowed operations inside are run, copy and ::copy. This can improve image size if operations overwrite each other.