You can add MAINTAINER info when create a Dockerfile.
Thanks, Xijian
On Tue, Dec 01, 2020 at 02:50:15PM +0800, Cao Xueliang wrote:
Signed-off-by: Cao Xueliang caoxl78320@163.com
container/assistant/Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 container/assistant/Dockerfile
diff --git a/container/assistant/Dockerfile b/container/assistant/Dockerfile new file mode 100644 index 0000000..0287747 --- /dev/null +++ b/container/assistant/Dockerfile @@ -0,0 +1,14 @@ +# SPDX-License-Identifier: MulanPSL-2.0+ +# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
+FROM debian
+ENV DEBIAN_FRONTEND noninteractive
+RUN apt-get update && \
- apt-get install -y ruby-json ruby-sinatra curl
+COPY routes.rb /usr/local/bin/ +COPY views /usr/local/bin/views/
+CMD ["/usr/local/bin/routes.rb"]
2.23.0