mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
Fixed bug where cp -f actually failed, (#4942)
because the symlink already existed.
This commit is contained in:
@@ -22,7 +22,7 @@ RUN \
|
||||
yum clean all && yum makecache
|
||||
|
||||
RUN \
|
||||
/bin/cp -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
||||
/usr/bin/ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
||||
echo 'root:Hello1234' | chpasswd && \
|
||||
groupadd -r admin && useradd -g admin admin && \
|
||||
yum install -y man && \
|
||||
|
||||
Reference in New Issue
Block a user