package dockerfile

  1. Overview
  2. Docs

Linux distribution-specific Dockerfile utility functions

val run_sh : ('a, unit, string, Dockerfile.t) Stdlib.format4 -> 'a

run_sh fmt will execute /bin/sh -c "fmt" after quoting fmt.

val run_as_user : string -> ('a, unit, string, Dockerfile.t) Stdlib.format4 -> 'a

run_as_user user fmt will execute sudo -u user /bin/sh -c "fmt" after quoting fmt.

module RPM : sig ... end

Rules for RPM-based distributions

module Apt : sig ... end

Rules for Apt-based distributions

module Apk : sig ... end

Rules for Apk-based distributions such as Alpine Linux

module Zypper : sig ... end

Rules for Zypper-based distributions such as OpenSUSE

module Git : sig ... end

Rules for Git

OCaml

Innovation. Community. Security.