github.com/alibaba/sealer@v0.8.6-0.20220430115802-37a2bdaa8173/docs/commandline/sealer_build.md (about)

     1  ## sealer build
     2  
     3  cloud image local build command line
     4  
     5  ### Synopsis
     6  
     7  sealer build -f Kubefile -t my-kubernetes:1.19.9 [--mode cloud|container|lite] [--no-cache]
     8  
     9  ```
    10  sealer build [flags] PATH
    11  ```
    12  
    13  ### Examples
    14  
    15  ```
    16  the current path is the context path ,default build type is cloud and use build cache
    17  
    18  cloud build :
    19  	sealer build -f Kubefile -t my-kubernetes:1.19.9
    20  
    21  container build :
    22  	sealer build -f Kubefile -t my-kubernetes:1.19.9 -m container
    23  
    24  lite build:
    25  	sealer build -f Kubefile -t my-kubernetes:1.19.9 --mode lite
    26  
    27  build without cache:
    28  	sealer build -f Kubefile -t my-kubernetes:1.19.9 --no-cache
    29  
    30  ```
    31  
    32  ### Options
    33  
    34  ```
    35    -m, --mode string   cluster image build type,default is cloud
    36    -h, --help               help for build
    37    -t, --imageName string   cluster image name
    38    -f, --kubefile string    kubefile filepath (default "Kubefile")
    39        --no-cache           build without cache
    40  ```
    41  
    42  ### Options inherited from parent commands
    43  
    44  ```
    45        --config string   config file (default is $HOME/.sealer.json)
    46    -d, --debug           turn on debug mode
    47  ```
    48  
    49  ### SEE ALSO
    50  
    51  * [sealer](sealer.md)	 - 
    52