Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.7 KB

nuctl_build.md

File metadata and controls

45 lines (34 loc) · 1.7 KB

nuctl build

Build a function

Synopsis

Build a function

nuctl build function-name [options] [flags]

Options

      --base-image string       Name of the base image (default - per-runtime default
      --build-command String    Commands to run when building the processor image
  -f, --file string             Path to a function-configuration file
      --handler string          Name of a function handler
  -h, --help                    help for build
  -i, --image string            Name of a Docker image (default - the function name)
      --no-pull                 Don't pull base images - use local versions
      --nuclio-src-dir string   Path to a local directory that contains Nuclio sources (avoid cloning)
      --nuclio-src-url string   URL of Nuclio sources for git clone (default "https://github.com/nuclio/nuclio.git")
  -o, --output string           Type of the build output - "docker" or "binary" (default "docker")
  -p, --path string             Path to the function's source code
  -r, --registry string         URL of a container registry (env: NUCTL_REGISTRY)
      --runtime string          Runtime (for example, "golang", "golang:1.8", "python:2.7")
      --version string          Version of the Docker image (default "latest")

Options inherited from parent commands

  -k, --kubeconfig string   Path to a Kubernetes configuration file (admin.conf)
  -n, --namespace string    Kubernetes namespace (default "default")
      --platform string     Platform identifier - "kube", "local", or "auto". (default "auto")
  -v, --verbose             Verbose output

SEE ALSO

  • nuctl - Nuclio command-line interface
Auto generated by spf13/cobra on 3-Dec-2017