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
17 lines
793 B
Docker
17 lines
793 B
Docker
FROM gcr.io/oss-fuzz-base/base-clang
|
|
|
|
ENV KYTHE_VERSION=v0.0.67
|
|
RUN apt update && apt -y install bison flex uuid-dev asciidoc graphviz source-highlight
|
|
RUN apt -y install git
|
|
COPY program-model/aixcc-kythe /kythe
|
|
RUN apt install apt-transport-https curl gnupg -y
|
|
RUN curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg
|
|
RUN mv bazel-archive-keyring.gpg /usr/share/keyrings
|
|
RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
|
|
RUN apt update && apt -y install bazel-7.1.0 build-essential
|
|
|
|
COPY program-model/kythe_builder/entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
WORKDIR /kythe
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"] |