mirror of
https://github.com/MCSManager/UI.git
synced 2024-11-21 03:15:46 +08:00
Merge pull request #56 from zijiren233/zijiren
Feat: Dockerfile ubuntu 可设置时区,默认东八区
This commit is contained in:
commit
7296c04ebd
@ -226,8 +226,10 @@ WORKDIR /workspace
|
||||
}
|
||||
if (type === 3) {
|
||||
this.dockerFile = `FROM ubuntu:18.04
|
||||
ENV TZ=Asia/Shanghai
|
||||
RUN mkdir -p /workspace
|
||||
RUN apt -y update && apt -y install openssl
|
||||
RUN apt -y update && apt -y install openssl && DEBIAN_FRONTEND="noninteractive" apt -y install tzdata
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
WORKDIR /workspace
|
||||
`;
|
||||
this.name = "mcsm-ubuntu";
|
||||
|
Loading…
Reference in New Issue
Block a user