On Fri, Jan 29, 2021 at 03:10:38PM +0800, Luan Shengde wrote:
Signed-off-by: Luan Shengde shdluan@163.com
container/submit/Dockerfile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 container/submit/Dockerfile
diff --git a/container/submit/Dockerfile b/container/submit/Dockerfile new file mode 100644 index 0000000..e4c2cbd --- /dev/null +++ b/container/submit/Dockerfile @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: MulanPSL-2.0+ +# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
+FROM debian
+MAINTAINER Luan Shengde shdluan@163.com
+ENV DEBIAN_FRONTEND noninteractive
+RUN echo 'deb [trusted=yes] http://mirrors.163.com/debian/ buster main non-free contrib\n \ +deb [trusted=yes] http://mirrors.163.com/debian/ buster-updates main non-free contrib\n \ +deb [trusted=yes] http://mirrors.163.com/debian/ buster-backports main non-free contrib\n \ +deb [trusted=yes] http://mirrors.163.com/debian-security/ buster/updates main non-free contrib\n \ +\n \ +deb-src [trusted=yes] http://mirrors.163.com/debian/ buster main non-free contrib\n \ +deb-src [trusted=yes] http://mirrors.163.com/debian/ buster-updates main non-free contrib\n \ +deb-src [trusted=yes] http://mirrors.163.com/debian/ buster-backports main non-free contrib\n \ +deb-src [trusted=yes] http://mirrors.163.com/debian-security/ buster/updates main non-free contrib\n' \ +> /etc/apt/sources.list
RUN cat > /etc/apt/sources.list << EOF xxx EOF
+RUN apt-get update && \
- apt-get install -y git ruby ruby-dev make libssl-dev gcc g++ sudo uuid-runtime
+RUN gem sources --add https://gems.ruby-china.com/
RUN gem sources --add https://gems.ruby-china.com/ \ gem xxx
Thanks, Shenwei
+RUN gem sources --remove https://rubygems.org/ +RUN gem install git faye-websocket activesupport rest-client
+WORKDIR /root
+RUN git clone https://gitee.com/wu_fengguang/lkp-tests.git
+RUN cd lkp-tests && make install
2.23.0