新增默认源文件

This commit is contained in:
KennyLee 2019-05-16 15:15:21 +08:00
parent 15a9a3be43
commit c05ca95d5d
4 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,5 @@
deb http://mirrors.aliyun.com/debian/ jessie main non-free contrib
deb http://mirrors.aliyun.com/debian/ jessie-proposed-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ jessie main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ jessie-proposed-updates main non-free contrib

View File

@ -0,0 +1,5 @@
deb http://mirrors.aliyun.com/debian/ wheezy main non-free contrib
deb http://mirrors.aliyun.com/debian/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ wheezy main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ wheezy-proposed-updates main non-free contrib

View File

@ -2,14 +2,15 @@ FROM node:8.16-jessie
MAINTAINER kennylee26 <kennylee26@gmail.com>
# COPY jessie.sources.list /etc/apt/sources.list
RUN apt-get update && \
apt-get install -y curl git unzip vim wget && \
apt-get install -y locales kde-l10n-zhcn && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# 各大镜像源偶尔抽风,谨慎起见安装时还是从官方吧,如果必需本地构建,再尝试挪到上面,不过就是否抽风了。
COPY jessie.sources.list /etc/apt/sources.list
RUN sed -i 's/# zh_CN.UTF-8 UTF-8/zh_CN.UTF-8 UTF-8/g' /etc/locale.gen
RUN locale && locale-gen "zh_CN.UTF-8"

5
node/jessie.sources.list Normal file
View File

@ -0,0 +1,5 @@
deb http://mirrors.aliyun.com/debian/ jessie main non-free contrib
deb http://mirrors.aliyun.com/debian/ jessie-proposed-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ jessie main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ jessie-proposed-updates main non-free contrib