|
@@ -20,7 +20,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezon
|
|
RUN yum install -y unzip zip wget telnet tzdata
|
|
RUN yum install -y unzip zip wget telnet tzdata
|
|
RUN mkdir -p $WORKER_HOME/config
|
|
RUN mkdir -p $WORKER_HOME/config
|
|
RUN groupadd docker
|
|
RUN groupadd docker
|
|
-RUN useradd -d $WORKER_HOME -g docker -m docker
|
|
|
|
|
|
+RUN useradd -d $WORKER_HOME -g docker -m -s /bin/bash docker
|
|
#设置工作目录
|
|
#设置工作目录
|
|
WORKDIR $WORKER_HOME
|
|
WORKDIR $WORKER_HOME
|
|
#复制文件到容器内
|
|
#复制文件到容器内
|