Ignored this patch pls.
Thanks, Xueliang
On Fri, Mar 26, 2021 at 03:23:38PM +0800, Cao Xueliang wrote:
use the compile env as the runtime env
Signed-off-by: Cao Xueliang caoxl78320@163.com
container/scheduler/Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/container/scheduler/Dockerfile b/container/scheduler/Dockerfile index 7fb8e35..229a9c7 100644 --- a/container/scheduler/Dockerfile +++ b/container/scheduler/Dockerfile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: MulanPSL-2.0+ # Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
-FROM alpine:3.11 +FROM alpine:scheduler-dev
RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|http://mirrors.huaweicloud.com%7Cg' /etc/apk/repositories
@@ -12,10 +12,6 @@ RUN apk add --no-cache 'ruby-dev' \
RUN umask 002 && \ gem sources -r https://rubygems.org/ -a https://gems.ruby-china.com/ && \
- gem install rest-client && \
- gem install activesupport && \
- gem install git && \
- gem install json && \ gem install yaml
-- 2.23.0