package dockerfile-opam

  1. Overview
  2. Docs

Linux distribution-specific Dockerfile utility functions

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

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

val run_as_user : string -> ('a, unit, string, Dockerfile.t) 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 Pacman : sig ... end

Rules for Pacman-based distributions such as Archlinux

module Git : sig ... end

Rules for Git

OCaml

Innovation. Community. Security.