diff --git a/install/docker/Dockerfile b/install/docker/Dockerfile index a588a861..dc267362 100644 --- a/install/docker/Dockerfile +++ b/install/docker/Dockerfile @@ -1,4 +1,4 @@ -# docker build -t ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:2024.06.01 -f install/docker/Dockerfile . +# docker build -t ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:2024.06.02 -f install/docker/Dockerfile . FROM ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:base-python3.9-amd64-20231001 diff --git a/install/docker/README.md b/install/docker/README.md index 3966fca1..abacf2af 100644 --- a/install/docker/README.md +++ b/install/docker/README.md @@ -44,16 +44,16 @@ mysql> flush privileges; docker build -t ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:base-python3.9 -f install/docker/Dockerfile-base . 使用基础镜像构建生产镜像 -docker build -t ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:2024.06.01 -f install/docker/Dockerfile . +docker build -t ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:2024.06.02 -f install/docker/Dockerfile . 构建frontend镜像 -docker build -t ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard-frontend:2024.06.01 -f install/docker/dockerFrontend/Dockerfile . +docker build -t ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard-frontend:2024.06.02 -f install/docker/dockerFrontend/Dockerfile . ``` ## 镜像拉取(如果你不参与开发可以直接使用线上镜像) ``` -docker pull ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:2024.06.01 -docker pull ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard-frontend:2024.06.01 +docker pull ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:2024.06.02 +docker pull ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard-frontend:2024.06.02 ``` ## deploy myapp (docker-compose) diff --git a/install/docker/docker-compose.yml b/install/docker/docker-compose.yml index f03ff052..51f7c22d 100644 --- a/install/docker/docker-compose.yml +++ b/install/docker/docker-compose.yml @@ -27,7 +27,7 @@ services: # retries: 10 frontend: - image: ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard-frontend:2024.06.01 + image: ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard-frontend:2024.06.02 restart: unless-stopped command: ['sh','-c','nginx -g "daemon off;"'] ports: @@ -38,9 +38,9 @@ services: - ../../install/docker/dockerFrontend/nginx.80.conf:/etc/nginx/conf.d/default.conf myapp: - image: ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:2024.06.01 + image: ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:2024.06.02 restart: unless-stopped - command: [ 'bash','-c','sleep 10000000 && /entrypoint.sh' ] + command: [ 'bash','-c','/entrypoint.sh' ] environment: STAGE: 'dev' REDIS_HOST: 'redis' @@ -63,7 +63,7 @@ services: # # beat: -# image: ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:2024.06.01 +# image: ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:2024.06.02 # restart: "no" # command: ["bash","-c","celery --app=myapp.tasks.celery_app:celery_app beat --loglevel=info"] # shm_size: '100gb' @@ -85,7 +85,7 @@ services: ## # # worker: -# image: ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:2024.06.01 +# image: ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard:2024.06.02 # restart: unless-stopped # # 默认的prefork池针对长时间的任务支持不是很好,如果任务运行时间有数分钟/小时,建议启用 Celery 的 -Ofair 命令参数 # command: ["bash","-c","celery --app=myapp.tasks.celery_app:celery_app worker --loglevel=info --pool=prefork -Ofair -c 2 -n worker@%h"] diff --git a/install/docker/dockerFrontend/Dockerfile b/install/docker/dockerFrontend/Dockerfile index f7e57c9d..41281ef6 100644 --- a/install/docker/dockerFrontend/Dockerfile +++ b/install/docker/dockerFrontend/Dockerfile @@ -1,4 +1,4 @@ -# docker build -t ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard-frontend:2024.06.01 -f install/docker/dockerFrontend/Dockerfile . +# docker build -t ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard-frontend:2024.06.02 -f install/docker/dockerFrontend/Dockerfile . FROM nginx diff --git a/install/kubernetes/cube/overlays/kustomization.yml b/install/kubernetes/cube/overlays/kustomization.yml index 82fb9424..a427313c 100644 --- a/install/kubernetes/cube/overlays/kustomization.yml +++ b/install/kubernetes/cube/overlays/kustomization.yml @@ -36,10 +36,10 @@ resources: images: - name: ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard newName: ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard - newTag: 2024.06.01 + newTag: 2024.06.02 - name: ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard-frontend newName: ccr.ccs.tencentyun.com/cube-studio/kubeflow-dashboard-frontend - newTag: 2024.06.01 + newTag: 2024.06.02 # kustomize build . | kubectl apply -f -