mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
- poetry lock required to update package name - related Makefile and licenses update to keep consistency (will be removed once the PyPi package is available) - modified compile_torch_model to only accept datasets with one input mypy error with better numpy typing hints appeared closes #1252
33 lines
967 B
Docker
33 lines
967 B
Docker
FROM ubuntu:20.04
|
|
|
|
# Do not change the line below it will be updated automatically when the docker is regenerated
|
|
# compiler timestamp: 2021-12-22T10:49:30Z
|
|
|
|
# Remove once compiler is on PyPi https://github.com/zama-ai/concrete-framework-internal/issues/809
|
|
ARG WHEEL
|
|
ENV TZ=Europe/Paris
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
RUN apt-get update && apt-get upgrade --no-install-recommends -y && \
|
|
apt-get install --no-install-recommends -y \
|
|
build-essential \
|
|
curl \
|
|
python3-pip \
|
|
python3.8 \
|
|
python3.8-dev \
|
|
python3.8-tk \
|
|
python3.8-venv \
|
|
python-is-python3 \
|
|
git \
|
|
graphviz* \
|
|
make \
|
|
pandoc \
|
|
shellcheck && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
pip install --no-cache-dir --upgrade pip && \
|
|
pip install --no-cache-dir poetry
|
|
|
|
# Remove once compiler is on PyPi https://github.com/zama-ai/concrete-framework-internal/issues/809
|
|
WORKDIR /pkg
|
|
COPY pkg/${WHEEL} .
|