mirror of
https://github.com/trailofbits/buttercup
synced 2026-06-21 14:11:39 +00:00
c26a3e223d
* add program model uv * add tool to common * remove oss fuzz tool * add docker * implement build base image * fix ret check * add builder for subimage * remove old tool * hack to avoid dupped kzip files * fixes... need to work out LD hack * fix find * justfile for building kythe * update dockerfile * add upload tool * update protobuf * move into compose * fix merge invocation * fix up invoc * bump kythe * reformat * format * format * remove unused * add lint and change version * fixes * exclude * fix formatting: * dev deps * add dep * exclude gen * fix
24 lines
781 B
Makefile
24 lines
781 B
Makefile
BUILDER_IMAGE_NAME := "kythe_builder"
|
|
|
|
build-kythe-builder:
|
|
docker build -t {{BUILDER_IMAGE_NAME}} -f ./program-model/kythe_builder/Dockerfile .
|
|
|
|
build-kythe-tar-gz: build-kythe-builder
|
|
docker run -v {{justfile_directory()}}/program-model/scripts/gzs/:/out {{BUILDER_IMAGE_NAME}}
|
|
|
|
|
|
download-kythe:
|
|
#!/usr/bin/env bash
|
|
set -euxo pipefail
|
|
if [[ ! -f "program-model/scripts/gzs/kythe-v0.0.67.tar.gz" ]]
|
|
then
|
|
curl -o program-model/scripts/gzs/kythe-v0.0.67.tar.gz https://github.com/trailofbits/aixcc-kythe/releases/download/v0.0.2/kythe-v0.0.67.tar.gz
|
|
fi
|
|
|
|
build-indexer-image:
|
|
docker build -t indexer -f ./program-model/upload_worker.Dockerfile .
|
|
|
|
|
|
run-indexer: download-kythe
|
|
docker compose --profile=development up --build indexer-run
|