diff --git a/Dockerfile b/Dockerfile index a1f1ffa..da392fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,16 +4,16 @@ ENV TZ=Asia/Shanghai \ ADD . /app -RUN echo "deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse\ - deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse\ - deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse\ - deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse\ - deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse\ - deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse\ - deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse\ - deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse\ - deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse\ - deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse" >/etc/apt/sources.list \ +RUN echo "deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse\n \ + deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse\n\ + deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse\n\ + deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multivers\ne\ + deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse\n\ + deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse\n\ + deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse\n\ + deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse\n\ + deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse\n\ + deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse\n" >/etc/apt/sources.list \ && apt update \ && apt install -y tzdata \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \