lightpath icon indicating copy to clipboard operation
lightpath copied to clipboard

build docker image is error

Open w796933 opened this issue 2 years ago • 3 comments

                             Dload  Upload   Total   Spent    Left  Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ftp.pcre.org The command '/bin/sh -c curl -fSL https://ftp.pcre.org/pub/pcre/pcre-${RESTY_PCRE_VERSION}.tar.gz -o pcre-${RESTY_PCRE_VERSION}.tar.gz && tar xzf pcre-${RESTY_PCRE_VERSION}.tar.gz && cd /tmp/pcre-${RESTY_PCRE_VERSION} && ./configure --prefix=/usr/local/openresty/pcre --disable-cpp --enable-jit --enable-utf --enable-unicode-properties && make -j${RESTY_J} && make -j${RESTY_J} install && cd /tmp' returned a non-zero code: 6 ERROR: Service 'openresty' failed to build : Build failed

w796933 avatar Mar 23 '22 11:03 w796933

is prce down address error . fix https://ftp.exim.org/pub/pcre/ .

w796933 avatar Mar 23 '22 11:03 w796933

i running
but http://ip:2841 can't open .

w796933 avatar Mar 23 '22 12:03 w796933

[root@server src]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 13e2560fb58e lightpath/openresty:latest "/usr/local/openrest…" 35 minutes ago Up 35 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:2841->2841/tcp, :::2841->2841/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp openresty

w796933 avatar Mar 23 '22 12:03 w796933