Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.06 KB

README.md

File metadata and controls

26 lines (16 loc) · 1.06 KB

GitHub Actions Workflow Status

This repository contains a way to build kunai on any OS capable of running docker.

The Easy Way: Using a Readymade Docker Image

  1. git clone https://github.com/kunai-project/kunai.git
  2. sudo docker run -it --rm -v $PWD/kunai:/kunai-src -w /kunai-src ghcr.io/kunai-project/kunai-builder cargo xbuild --release
  3. Find compiled binary in ./kunai/target directory

The Tough Way: Building the Docker Image by Yourself

Image Building

⚠️ This step needs to be done only once to create the docker image we will use

  1. git clone https://github.com/kunai-project/kunai-build-docker.git
  2. cd kunai-build-docker
  3. docker build -t kunai-build ./

Build kunai with in a container

  1. git clone https://github.com/kunai-project/kunai.git
  2. docker run -it --rm -v $PWD/kunai:/kunai-src -w /kunai-src kunai-build cargo xbuild --release
  3. Find compiled binary in ./kunai/target directory