github.com/rkt/rkt@v1.30.1-0.20200224141603-171c416fac02/Documentation/rkt-build-rkt.md (about)

     1  # coreos.com/rkt/builder
     2  
     3  This container contains all build-time dependencies in order to build rkt.
     4  It currently can be built in: _Debian Sid_.
     5  
     6  All commands assume you are running them in your local git checkout of rkt.
     7  
     8  ## Building rkt in rkt
     9  
    10  Configure the path to your git checkout of `rkt` and the build output directory respectively:
    11  
    12  ```
    13  export SRC_DIR=
    14  export BUILDDIR=
    15  mkdir -p $BUILDDIR
    16  ```
    17  
    18  Start the container which will run the [rkt builder](https://github.com/rkt/rkt-builder), and compile rkt:
    19  ```
    20  ./scripts/build-rir.sh
    21  ```
    22  
    23  You should see rkt building in your rkt container, and once it's finished, the output should be in `$BUILD_DIR` on your host.