Signed-off-by: Luan Shengde shdluan@163.com --- container/mail-robot/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 container/mail-robot/Dockerfile
diff --git a/container/mail-robot/Dockerfile b/container/mail-robot/Dockerfile new file mode 100644 index 0000000..4b660c1 --- /dev/null +++ b/container/mail-robot/Dockerfile @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: MulanPSL-2.0+ +# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved. + +FROM debian + +MAINTAINER shdluan@163.com + +ENV DEBIAN_FRONTEND noninteractive + +RUN apt-get update && \ + apt-get install -y git uuid-runtime curl ruby-listen ruby-json ruby-mail && \ + gem install fileutils elasticsearch activesupport
+ENV DEBIAN_FRONTEND noninteractive
+RUN apt-get update && \
apt-get install -y git uuid-runtime curl ruby-listen ruby-json ruby-mail && \
gem install fileutils elasticsearch activesupport
separate apt-get and gem maybe better, write gem install in next line
RUN gem install fileutils elasticsearch activesupport
Thanks, Yinsi
-- 2.23.0
On Thu, Nov 05, 2020 at 09:46:26AM +0800, Liu Yinsi wrote:
+ENV DEBIAN_FRONTEND noninteractive
+RUN apt-get update && \
apt-get install -y git uuid-runtime curl ruby-listen ruby-json ruby-mail && \
gem install fileutils elasticsearch activesupport
separate apt-get and gem maybe better, write gem install in next line
RUN gem install fileutils elasticsearch activesupport
OK, I will separate it
Thanks, Luan Shengde
Thanks, Yinsi
-- 2.23.0
+MAINTAINER shdluan@163.com
MAINTAINER Luan Shengde shdluan@163.com looks better.
Thanks, Yinsi
+ENV DEBIAN_FRONTEND noninteractive
+RUN apt-get update && \
apt-get install -y git uuid-runtime curl ruby-listen ruby-json ruby-mail && \
gem install fileutils elasticsearch activesupport
-- 2.23.0
On Thu, Nov 05, 2020 at 09:49:14AM +0800, Liu Yinsi wrote:
+MAINTAINER shdluan@163.com
MAINTAINER Luan Shengde shdluan@163.com looks better.
OK, I will fix it
Thanks, Luan Shengde
Thanks, Yinsi
+ENV DEBIAN_FRONTEND noninteractive
+RUN apt-get update && \
apt-get install -y git uuid-runtime curl ruby-listen ruby-json ruby-mail && \
gem install fileutils elasticsearch activesupport
-- 2.23.0