mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 11:35:02 -05:00
33 lines
959 B
Bash
33 lines
959 B
Bash
FROM ubuntu:20.04
|
|
|
|
# Do not change the line below it will be updated automatically when the docker is regenerated
|
|
# compiler timestamp: 2022-01-04T16:08:11Z
|
|
|
|
# Remove once compiler is on PyPi https://github.com/zama-ai/concrete-numpy-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-numpy-internal/issues/809
|
|
WORKDIR /pkg
|
|
COPY pkg/${WHEEL} .
|