mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
Real fork of ClickHouse/ClickHouse with the Hanzo overlay applied on top of the 26.5 release lineage (parent is upstream/26.5, so future upstream syncs are clean 3-way merges). Overlay: cmd/zap-bridge (:9999 ZAP duplex), Dockerfile.hanzo + hanzoai/debian13 bases, hanzo/ config + schema, white-label hanzo-datastore branding, arcd CI, hanzo-* packaging. FOLLOW-UP: re-apply Phase-1 CMake decisions (single-binary ENABLE_DATASTORE_KEEPER=OFF; disabled external engines) + full build on hanzo-build-linux-amd64.
43 lines
1.4 KiB
Docker
43 lines
1.4 KiB
Docker
# docker build -t hanzoai/datastore-libfuzzer .
|
|
ARG FROM_TAG=latest
|
|
FROM hanzoai/datastore-test-base:$FROM_TAG
|
|
|
|
# ARG for quick switch to a given ubuntu mirror
|
|
ARG apt_archive="http://archive.ubuntu.com"
|
|
RUN sed -i -e "s|http://archive.ubuntu.com|$apt_archive|g" -e "s|https://archive.ubuntu.com|$apt_archive|g" /etc/apt/sources.list
|
|
|
|
ENV LANG=C.UTF-8
|
|
ENV TZ=Europe/Amsterdam
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
# We need ca-certificates first to be able to update all repos. This is why it's run twice
|
|
RUN apt-get update \
|
|
&& apt-get install ca-certificates --yes --no-install-recommends --verbose-versions
|
|
|
|
RUN apt-get update \
|
|
&& DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends \
|
|
libc6-dbg \
|
|
moreutils \
|
|
ncdu \
|
|
p7zip-full \
|
|
parallel \
|
|
psmisc \
|
|
python3 \
|
|
python3-pip \
|
|
rsync \
|
|
tree \
|
|
tzdata \
|
|
vim \
|
|
wget \
|
|
&& apt-get autoremove --yes \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/*
|
|
|
|
COPY requirements.txt /
|
|
RUN pip3 install --no-cache-dir -r /requirements.txt
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
# docker run --network=host --volume <workspace>:/workspace -e PR_TO_TEST=<> -e SHA_TO_TEST=<> hanzoai/libfuzzer
|
|
|