Files
concrete/docker/Dockerfile.concrete-python

12 lines
414 B
Docker

FROM python:3.10-slim
ARG version
# provide the `ld` binary required by the compiler
# hadolint ignore=DL3008
RUN apt-get update && apt-get install --no-install-recommends -y binutils graphviz \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu --extra-index-url https://pypi.zama.ai/cpu/ concrete-python==${version}