add Dockerfile (#8993)

This commit is contained in:
Guancheng Fu 2023-09-18 13:25:37 +08:00 committed by GitHub
parent 0a552d5bdc
commit 7353882732

View file

@ -0,0 +1,18 @@
FROM ubuntu:20.04
ARG http_proxy
ARG https_proxy
# Install PYTHON 3.9
RUN env DEBIAN_FRONTEND=noninteractive apt-get update && \
apt install software-properties-common libunwind8-dev vim less -y && \
add-apt-repository ppa:deadsnakes/ppa -y && \
apt-get install -y python3.9 git curl wget && \
rm /usr/bin/python3 && \
ln -s /usr/bin/python3.9 /usr/bin/python3 && \
ln -s /usr/bin/python3 /usr/bin/python && \
apt-get install -y python3-pip python3.9-dev python3-wheel python3.9-distutils && \
pip3 install --no-cache --upgrade requests argparse urllib3 && \
pip3 install --pre --upgrade bigdl-llm[all]
ENTRYPOINT ["/bin/bash"]