mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
创建 docker 镜像的时候使用阿里云的源
This commit is contained in:
parent
624b6a3ce3
commit
93c03b541b
@ -3,6 +3,8 @@ MAINTAINER virusdefender<qduliyang@outlook.com>
|
||||
RUN mkdir /var/install/
|
||||
WORKDIR /var/install/
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN rm /etc/apt/sources.list
|
||||
COPY sources.list /etc/apt/
|
||||
RUN apt-get update
|
||||
RUN apt-get -y install software-properties-common python-software-properties
|
||||
RUN add-apt-repository -y ppa:webupd8team/java
|
||||
|
||||
10
judge/sources.list
Normal file
10
judge/sources.list
Normal file
@ -0,0 +1,10 @@
|
||||
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
|
||||
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
|
||||
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
|
||||
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
|
||||
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
|
||||
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
|
||||
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
|
||||
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
|
||||
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
|
||||
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
|
||||
Loading…
Reference in New Issue
Block a user