When makepkg, find it locally and then get it remotely.
Signed-off-by: cuiyili 2268260388@qq.com --- container/openresty-proxy-cache/build | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 container/openresty-proxy-cache/build
diff --git a/container/openresty-proxy-cache/build b/container/openresty-proxy-cache/build new file mode 100755 index 0000000..0846197 --- /dev/null +++ b/container/openresty-proxy-cache/build @@ -0,0 +1,7 @@ +#!/bin/bash +# SPDX-License-Identifier: MulanPSL-2.0+ +# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved. + +git clone https://gitee.com/cuiyili/openresty.git || exit 1 + +docker build -t openresty:proxy_cache . -f openresty/Dockerfile
On Thu, Jan 07, 2021 at 06:40:24PM +0800, Cui Yili wrote:
When makepkg, find it locally and then get it remotely.
Signed-off-by: cuiyili 2268260388@qq.com
container/openresty-proxy-cache/build | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 container/openresty-proxy-cache/build
diff --git a/container/openresty-proxy-cache/build b/container/openresty-proxy-cache/build new file mode 100755 index 0000000..0846197 --- /dev/null +++ b/container/openresty-proxy-cache/build @@ -0,0 +1,7 @@ +#!/bin/bash +# SPDX-License-Identifier: MulanPSL-2.0+ +# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
+git clone https://gitee.com/cuiyili/openresty.git || exit 1
+docker build -t openresty:proxy_cache . -f openresty/Dockerfile
why not directly put openresty/Dockerfile in container/openresty-proxy-cache/Dockerfile?
Thanks, Yinsi
-- 2.23.0