Browse Source

需求:调整镜像运行的用户名

lijie 2 years ago
parent
commit
780cdbd88f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docker/dockerfiles/dmp-rwd/Dockerfile

+ 1 - 1
docker/dockerfiles/dmp-rwd/Dockerfile

@@ -18,9 +18,9 @@ ARG WORKER_HOME
 #执行的命令
 RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezon
 RUN yum install -y unzip zip wget telnet tzdata
+RUN mkdir -p $WORKER_HOME/config
 RUN groupadd docker
 RUN useradd -d $WORKER_HOME -g docker -m docker
-RUN mkdir -p $WORKER_HOME/config
 #设置工作目录
 WORKDIR $WORKER_HOME
 #复制文件到容器内