mirror of
https://github.com/typesense/typesense.git
synced 2025-05-16 19:55:21 +08:00
10 lines
610 B
Docker
10 lines
610 B
Docker
FROM gcc:12.2.0
|
|
|
|
RUN apt update && apt install -y apt-transport-https curl gnupg
|
|
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 install bazel
|
|
|
|
# docker run -it -v ${PWD}:/typesense bazel_typesense:latest sh -c "cd /typesense && bazel build //:search //:typesense-server //:benchmark //:typesense-test"
|