mirror of
https://gitee.com/kennylee/docker.git
synced 2024-11-30 02:48:27 +08:00
新增默认源文件
This commit is contained in:
parent
15a9a3be43
commit
c05ca95d5d
5
assets/debian/jessie.sources.list
Normal file
5
assets/debian/jessie.sources.list
Normal 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
|
||||||
|
|
5
assets/debian/wheezy.sources.list
Normal file
5
assets/debian/wheezy.sources.list
Normal 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
|
||||||
|
|
@ -2,14 +2,15 @@ FROM node:8.16-jessie
|
|||||||
|
|
||||||
MAINTAINER kennylee26 <kennylee26@gmail.com>
|
MAINTAINER kennylee26 <kennylee26@gmail.com>
|
||||||
|
|
||||||
# COPY jessie.sources.list /etc/apt/sources.list
|
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y curl git unzip vim wget && \
|
apt-get install -y curl git unzip vim wget && \
|
||||||
apt-get install -y locales kde-l10n-zhcn && \
|
apt-get install -y locales kde-l10n-zhcn && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
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 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"
|
RUN locale && locale-gen "zh_CN.UTF-8"
|
||||||
|
5
node/jessie.sources.list
Normal file
5
node/jessie.sources.list
Normal 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user