|
@@ -4,6 +4,7 @@ FROM cherishpf/python3-java8:1.0
|
|
|
WORKDIR ./python_physical_world_v3
|
|
|
ADD . .
|
|
|
|
|
|
+
|
|
|
RUN echo > /etc/apt/sources.list
|
|
|
RUN bash -c 'echo "deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse" >> /etc/apt/sources.list'
|
|
|
RUN bash -c 'echo "deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse" >> /etc/apt/sources.list'
|
|
@@ -15,6 +16,8 @@ RUN bash -c 'echo "deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main r
|
|
|
RUN bash -c 'echo "deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse" >> /etc/apt/sources.list'
|
|
|
RUN bash -c 'echo "deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse" >> /etc/apt/sources.list'
|
|
|
RUN bash -c 'echo "deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse" >> /etc/apt/sources.list'
|
|
|
+RUN cat /etc/apt/sources.list
|
|
|
+RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
build-essential && \
|
|
|
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
|