
11 Jan
2021
11 Jan
'21
11:01 a.m.
[why] docker time is GMT, docker time should be same with localtime. Signed-off-by: Wei Jihui <weijihuiall@163.com> --- providers/docker/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/providers/docker/run.sh b/providers/docker/run.sh index 57a01c0..4d53db7 100755 --- a/providers/docker/run.sh +++ b/providers/docker/run.sh @@ -31,6 +31,7 @@ cmd=( -v $CCI_SRC:/c/compass-ci:ro -v /srv/git:/srv/git:ro -v /srv/result:/srv/result:ro + -v /etc/localtime:/etc/localtime:ro -v ${busybox_path}:/usr/local/bin/busybox --oom-score-adj="-1000" ${docker_image} -- 2.23.0