On Fri, Feb 05, 2021 at 01:52:30PM +0800, Liu Yinsi wrote:
before: copy h5ai repo from our server /c/h5ai into image after: download h5ai repo when build container
[why] download h5ai in docker image, make build script more clear.
Signed-off-by: Liu Yinsi liuyinsi@163.com
container/srv-http/Dockerfile | 8 ++++---- container/srv-http/build | 7 ------- 2 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/container/srv-http/Dockerfile b/container/srv-http/Dockerfile index 987e40e..1f9b5ca 100644 --- a/container/srv-http/Dockerfile +++ b/container/srv-http/Dockerfile @@ -5,16 +5,16 @@ FROM alpine:3.9
ADD root /
-RUN apk add --no-cache nginx php7 php7-fpm php7-session php7-json php7-exif php7-imagick php7-gd php7-fileinfo nodejs npm \
- && mkdir /run/nginx/ \
- && mkdir /h5ai
+RUN apk add --no-cache nginx php7 php7-fpm php7-session php7-json php7-exif php7-imagick php7-gd php7-fileinfo nodejs npm git\
^ add a space Thanks, Weitao