Signed-off-by: Wang Chenglong 18509160991@163.com --- container/docker-rootfs/setup-image | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/container/docker-rootfs/setup-image b/container/docker-rootfs/setup-image index 8e2e88a..787a42c 100755 --- a/container/docker-rootfs/setup-image +++ b/container/docker-rootfs/setup-image @@ -13,6 +13,11 @@ remove_file() rm -rf /.dockerenv }
+set_localtime() +{ + ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime +} + setup_login() { [ -n "$ROOT_PASSWD" ] || return @@ -32,5 +37,6 @@ pack_cgz()
install_packages remove_file +set_localtime setup_login pack_cgz