Signed-off-by: Ren Wen 15991987063@163.com --- container/assist-cci/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 container/assist-cci/Dockerfile
diff --git a/container/assist-cci/Dockerfile b/container/assist-cci/Dockerfile new file mode 100644 index 0000000..16bba06 --- /dev/null +++ b/container/assist-cci/Dockerfile @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: MulanPSL-2.0+ +# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved. + +FROM alpine:3.11 + +MAINTAINER 15991987063@163.com + +RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|http://mirrors.huaweicloud.com%7Cg' /etc/apk/repositories && \ + apk update && \ + apk add --no-cache 'ruby-dev' 'ruby-etc' \ + 'g++' 'gcc' 'pcre' 'libevent' 'make' 'git' 'bash' 'grep' 'coreutils' 'curl' 'util-linux' + +RUN umask 002 && \ + echo ':sources: ["http://rubygems.org"]' >> ~/.gemrc && \ + gem install activesupport json yaml sinatra puma
container - assist-cci => container/assist-cci?
Thanks, Xueliang
On Fri, Jan 15, 2021 at 03:37:56PM +0800, Ren Wen wrote:
Signed-off-by: Ren Wen 15991987063@163.com
container/assist-cci/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 container/assist-cci/Dockerfile
diff --git a/container/assist-cci/Dockerfile b/container/assist-cci/Dockerfile new file mode 100644 index 0000000..16bba06 --- /dev/null +++ b/container/assist-cci/Dockerfile @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: MulanPSL-2.0+ +# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
+FROM alpine:3.11
+MAINTAINER 15991987063@163.com
+RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|http://mirrors.huaweicloud.com%7Cg' /etc/apk/repositories && \
- apk update && \
- apk add --no-cache 'ruby-dev' 'ruby-etc' \
- 'g++' 'gcc' 'pcre' 'libevent' 'make' 'git' 'bash' 'grep' 'coreutils' 'curl' 'util-linux'
+RUN umask 002 && \
- echo ':sources: ["http://rubygems.org"]' >> ~/.gemrc && \
- gem install activesupport json yaml sinatra puma
-- 2.23.0
On Fri, Jan 15, 2021 at 03:47:09PM +0800, Cao Xueliang wrote:
container - assist-cci => container/assist-cci?
Got it, this may be better.
Thanks, RenWen
Thanks, Xueliang
On Fri, Jan 15, 2021 at 03:37:56PM +0800, Ren Wen wrote:
Signed-off-by: Ren Wen 15991987063@163.com
container/assist-cci/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 container/assist-cci/Dockerfile
diff --git a/container/assist-cci/Dockerfile b/container/assist-cci/Dockerfile new file mode 100644 index 0000000..16bba06 --- /dev/null +++ b/container/assist-cci/Dockerfile @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: MulanPSL-2.0+ +# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
+FROM alpine:3.11
+MAINTAINER 15991987063@163.com
+RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|http://mirrors.huaweicloud.com%7Cg' /etc/apk/repositories && \
- apk update && \
- apk add --no-cache 'ruby-dev' 'ruby-etc' \
- 'g++' 'gcc' 'pcre' 'libevent' 'make' 'git' 'bash' 'grep' 'coreutils' 'curl' 'util-linux'
+RUN umask 002 && \
- echo ':sources: ["http://rubygems.org"]' >> ~/.gemrc && \
- gem install activesupport json yaml sinatra puma
-- 2.23.0
On Fri, Jan 15, 2021 at 03:37:56PM +0800, Ren Wen wrote:
Signed-off-by: Ren Wen 15991987063@163.com
container/assist-cci/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 container/assist-cci/Dockerfile
diff --git a/container/assist-cci/Dockerfile b/container/assist-cci/Dockerfile new file mode 100644 index 0000000..16bba06 --- /dev/null +++ b/container/assist-cci/Dockerfile @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: MulanPSL-2.0+ +# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
+FROM alpine:3.11
+MAINTAINER 15991987063@163.com
format like this will better:
MAINTAINER Ren Wen 15991987063@163.com
Thanks, Yinsi
++
+RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|http://mirrors.huaweicloud.com%7Cg' /etc/apk/repositories && \
- apk update && \
- apk add --no-cache 'ruby-dev' 'ruby-etc' \
- 'g++' 'gcc' 'pcre' 'libevent' 'make' 'git' 'bash' 'grep' 'coreutils' 'curl' 'util-linux'
+RUN umask 002 && \
- echo ':sources: ["http://rubygems.org"]' >> ~/.gemrc && \
- gem install activesupport json yaml sinatra puma
-- 2.23.0
On Fri, Jan 15, 2021 at 04:01:05PM +0800, Liu Yinsi wrote:
On Fri, Jan 15, 2021 at 03:37:56PM +0800, Ren Wen wrote:
Signed-off-by: Ren Wen 15991987063@163.com
container/assist-cci/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 container/assist-cci/Dockerfile
diff --git a/container/assist-cci/Dockerfile b/container/assist-cci/Dockerfile new file mode 100644 index 0000000..16bba06 --- /dev/null +++ b/container/assist-cci/Dockerfile @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: MulanPSL-2.0+ +# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
+FROM alpine:3.11
+MAINTAINER 15991987063@163.com
format like this will better:
MAINTAINER Ren Wen 15991987063@163.com
Got it.
Thanks, RenWen
Thanks, Yinsi
++
+RUN sed -ri.origin 's|^https?://dl-cdn.alpinelinux.org|http://mirrors.huaweicloud.com%7Cg' /etc/apk/repositories && \
- apk update && \
- apk add --no-cache 'ruby-dev' 'ruby-etc' \
- 'g++' 'gcc' 'pcre' 'libevent' 'make' 'git' 'bash' 'grep' 'coreutils' 'curl' 'util-linux'
+RUN umask 002 && \
- echo ':sources: ["http://rubygems.org"]' >> ~/.gemrc && \
- gem install activesupport json yaml sinatra puma
-- 2.23.0