This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM ubuntu:18.04 | ||
LABEL maintainer "zhujian <zjzstu@github.com>" | ||
|
||
COPY sources.list . | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN set -eux && \ | ||
rm /etc/apt/sources.list && \ | ||
mv sources.list /etc/apt/sources.list && \ | ||
apt-get update && \ | ||
apt-get install -y locales tzdata xfonts-wqy && \ | ||
locale-gen zh_CN.UTF-8 && \ | ||
update-locale LANG=zh_CN.UTF-8 LANGUAGE=zh_CN.UTF-8 LC_ALL=zh_CN.UTF-8 && \ | ||
ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \ | ||
dpkg-reconfigure --frontend noninteractive tzdata && \ | ||
find /var/lib/apt/lists -type f -delete && \ | ||
find /var/cache -type f -delete | ||
|
||
ENV LANG=zh_CN.UTF-8 LANGUAGE=zh_CN.UTF-8 LC_ALL=zh_CN.UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse | ||
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse | ||
|
||
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse | ||
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse | ||
|
||
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse | ||
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse | ||
|
||
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse | ||
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse | ||
|
||
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse | ||
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse |