diff --git a/deploy_k8s/admin_cms/admin_cms.Dockerfile b/deploy_k8s/admin_cms/admin_cms.Dockerfile index d373741d3..1144ef09d 100644 --- a/deploy_k8s/admin_cms/admin_cms.Dockerfile +++ b/deploy_k8s/admin_cms/admin_cms.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_admin_cms $WORKDIR/cmd/main diff --git a/deploy_k8s/api/api.Dockerfile b/deploy_k8s/api/api.Dockerfile index c6f287fee..f1dd4c748 100644 --- a/deploy_k8s/api/api.Dockerfile +++ b/deploy_k8s/api/api.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_api $WORKDIR/cmd/main diff --git a/deploy_k8s/auth/auth.Dockerfile b/deploy_k8s/auth/auth.Dockerfile index 6ddc5967c..04fbdf32a 100644 --- a/deploy_k8s/auth/auth.Dockerfile +++ b/deploy_k8s/auth/auth.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_auth $WORKDIR/cmd/main diff --git a/deploy_k8s/cache/cache.Dockerfile b/deploy_k8s/cache/cache.Dockerfile index 0ee6ed1bd..e69d131ab 100644 --- a/deploy_k8s/cache/cache.Dockerfile +++ b/deploy_k8s/cache/cache.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_cache $WORKDIR/cmd/main diff --git a/deploy_k8s/cms_api/cms_api.Dockerfile b/deploy_k8s/cms_api/cms_api.Dockerfile index 7921dfc4c..64c4ae25a 100644 --- a/deploy_k8s/cms_api/cms_api.Dockerfile +++ b/deploy_k8s/cms_api/cms_api.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_cms_api $WORKDIR/cmd/main diff --git a/deploy_k8s/conversation/conversation.Dockerfile b/deploy_k8s/conversation/conversation.Dockerfile index 9f92c8dea..4518627d3 100644 --- a/deploy_k8s/conversation/conversation.Dockerfile +++ b/deploy_k8s/conversation/conversation.Dockerfile @@ -4,7 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd # 将可执行文件复制到目标目录 ADD ./open_im_conversation $WORKDIR/cmd/main diff --git a/deploy_k8s/demo/demo.Dockerfile b/deploy_k8s/demo/demo.Dockerfile index bccc97561..05b532fd4 100644 --- a/deploy_k8s/demo/demo.Dockerfile +++ b/deploy_k8s/demo/demo.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_demo $WORKDIR/cmd/main diff --git a/deploy_k8s/friend/friend.Dockerfile b/deploy_k8s/friend/friend.Dockerfile index a545a5425..3741a7c89 100644 --- a/deploy_k8s/friend/friend.Dockerfile +++ b/deploy_k8s/friend/friend.Dockerfile @@ -4,7 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd # 将可执行文件复制到目标目录 ADD ./open_im_friend $WORKDIR/cmd/main diff --git a/deploy_k8s/group/group.Dockerfile b/deploy_k8s/group/group.Dockerfile index 167214960..7b902ee67 100644 --- a/deploy_k8s/group/group.Dockerfile +++ b/deploy_k8s/group/group.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_group $WORKDIR/cmd/main diff --git a/deploy_k8s/message_cms/message_cms.Dockerfile b/deploy_k8s/message_cms/message_cms.Dockerfile index 95edd64b9..f77ebc3c2 100644 --- a/deploy_k8s/message_cms/message_cms.Dockerfile +++ b/deploy_k8s/message_cms/message_cms.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_message_cms $WORKDIR/cmd/main diff --git a/deploy_k8s/msg/msg.Dockerfile b/deploy_k8s/msg/msg.Dockerfile index 668587bf1..50299b41d 100644 --- a/deploy_k8s/msg/msg.Dockerfile +++ b/deploy_k8s/msg/msg.Dockerfile @@ -4,7 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd # 将可执行文件复制到目标目录 ADD ./open_im_msg $WORKDIR/cmd/main diff --git a/deploy_k8s/msg_gateway/msg_gateway.Dockerfile b/deploy_k8s/msg_gateway/msg_gateway.Dockerfile index a88280fe3..48441eb56 100644 --- a/deploy_k8s/msg_gateway/msg_gateway.Dockerfile +++ b/deploy_k8s/msg_gateway/msg_gateway.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_msg_gateway $WORKDIR/cmd/main diff --git a/deploy_k8s/msg_transfer/msg_transfer.Dockerfile b/deploy_k8s/msg_transfer/msg_transfer.Dockerfile index be9bab452..68c3f3819 100644 --- a/deploy_k8s/msg_transfer/msg_transfer.Dockerfile +++ b/deploy_k8s/msg_transfer/msg_transfer.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_msg_transfer $WORKDIR/cmd/main diff --git a/deploy_k8s/office/office.Dockerfile b/deploy_k8s/office/office.Dockerfile index 373611bc3..c6db928fa 100644 --- a/deploy_k8s/office/office.Dockerfile +++ b/deploy_k8s/office/office.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_office $WORKDIR/cmd/main diff --git a/deploy_k8s/organization/organization.Dockerfile b/deploy_k8s/organization/organization.Dockerfile index eac9d114e..345ee9692 100644 --- a/deploy_k8s/organization/organization.Dockerfile +++ b/deploy_k8s/organization/organization.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_organization $WORKDIR/cmd/main diff --git a/deploy_k8s/push/push.Dockerfile b/deploy_k8s/push/push.Dockerfile index a690ccd27..2904ce56f 100644 --- a/deploy_k8s/push/push.Dockerfile +++ b/deploy_k8s/push/push.Dockerfile @@ -4,7 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd # 将可执行文件复制到目标目录 ADD ./open_im_push $WORKDIR/cmd/main diff --git a/deploy_k8s/sdk_server/sdk_server.Dockerfile b/deploy_k8s/sdk_server/sdk_server.Dockerfile index 985878620..b56b852a4 100644 --- a/deploy_k8s/sdk_server/sdk_server.Dockerfile +++ b/deploy_k8s/sdk_server/sdk_server.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_sdk_server $WORKDIR/cmd/main diff --git a/deploy_k8s/statistics/statistics.Dockerfile b/deploy_k8s/statistics/statistics.Dockerfile index 1e615b416..44e8f2fe1 100644 --- a/deploy_k8s/statistics/statistics.Dockerfile +++ b/deploy_k8s/statistics/statistics.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_statistics $WORKDIR/cmd/main diff --git a/deploy_k8s/user/user.Dockerfile b/deploy_k8s/user/user.Dockerfile index 096ae62dd..3218949d4 100644 --- a/deploy_k8s/user/user.Dockerfile +++ b/deploy_k8s/user/user.Dockerfile @@ -4,8 +4,6 @@ FROM ubuntu ENV WORKDIR /Open-IM-Server ENV CONFIG_NAME $WORKDIR/config/config.yaml -RUN mkdir $WORKDIR/cmd - # 将可执行文件复制到目标目录 ADD ./open_im_user $WORKDIR/cmd/main