Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Added quark #211

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions Formula/quark.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
class Quark < Formula
desc "Secure container runtime with OCI interface"
homepage "https://github.com/QuarkContainer/Quark"

url "https://github.com/QuarkContainer/Quark.git",
revision: "b528795f44991b71b1abc15a7389579ed5b60047"
version "0.0.0"
license "Apache-2.0"
head "https://github.com/QuarkContainer/Quark.git"

depends_on "make" => :build
depends_on "rust" => :build
depends_on :linux

def install
system "make", "release"
bin.install "build/qkernel.bin"
bin.install "target/release/quark"
bin.install "vdso/vdso.so"
end

def post_install
(etc/"quark").install "config.json"
end

test do
system bin/"qvisor", "--help"
end
end