blob: 93b30ab65a54cbfb2d3e493f25f740f1c1031aeb [file] [log] [blame] [edit]
FROM ubuntu:22.04
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
python3-distutils \
python-is-python3 \
python3 \
python3-pip \
tmux \
g++ \
ccache \
binutils-gold \
binutils-dev \
ninja-build \
pkg-config \
gcc-multilib \
g++-multilib \
gawk \
dos2unix \
libxml2-dev \
rsync \
git \
libtool \
m4 \
automake \
libgcrypt-dev \
liblzma-dev \
libssl-dev \
libgss-dev \
python3-dev \
wget \
zlib1g-dev \
tcl-dev \
libpfm4-dev \
software-properties-common \
cmake \
git \
vim
RUN mkdir /tflite
WORKDIR /tflite
COPY buildbot/build_tflite.sh ./
RUN ./build_tflite.sh
WORKDIR /
COPY . /ml-compiler-opt
RUN python3 -m pip install -r /ml-compiler-opt/requirements-dev.txt