update
This commit is contained in:
parent
b4ad677240
commit
4410d7a0a0
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
FROM public.ecr.aws/iflytek-open/cuda-go-python-base:11.6-1.17-3.9.13-ubuntu1804
|
FROM public.ecr.aws/iflytek-open/cuda-go-python-base:11.6-1.17-3.9.13-ubuntu1804
|
||||||
|
|
||||||
|
RUN sed -i 's@//.*archive.ubuntu.com@//mirrors.ustc.edu.cn@g' /etc/apt/sources.list
|
||||||
|
RUN sed -i 's/security.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
|
||||||
|
|
||||||
|
RUN --mount=target=/root/packages.txt,source=packages.txt apt-get update && xargs -r -a /root/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /home/user/app
|
WORKDIR /home/user/app
|
||||||
RUN useradd -m -u 1000 user
|
RUN useradd -m -u 1000 user
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
libgl1-mesa-glx
|
Loading…
Reference in New Issue