Sign inSign up

gabauer/catboost

By gabauer

•Updated about 3 years ago

x86-64 Dockerimage for catboost (https://github.com/catboost/catboost) CPU only.

Image
0

950

gabauer/catboost repository overview

The Catboost binary was built with Debian 12.0 and uses Debian-Slim 12.0 for running the binary. The following Dockerfile was used:

FROM debian:12.0 as builder
WORKDIR /catboost_building

# install dependencies
RUN apt update && apt install -y git linux-libc-dev clang cmake ninja-build lld python3-pip
RUN pip install conan==1.59.0 --break-system-packages

# set env vars for building
RUN export CC=/usr/bin/clang \
      export CXX=/usr/bin/clang++

# get newest source version
RUN git clone https://github.com/catboost/catboost.git

# build catboost binary
RUN cd catboost && python3 ./build/build_native.py --build-root-dir=./build_no_cuda --targets catboost

# build image for running
FROM debian:12.0-slim
WORKDIR /app
COPY --from=builder /catboost_building/catboost/build_no_cuda/catboost/app/catboost /catboost
ENTRYPOINT ["/catboost"]

Tag summary

Content type

Image

Digest

sha256:c7a52b628…

Size

39 MB

Last updated

about 3 years ago

docker pull gabauer/catboost