Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build docker image is error #1

Open
w796933 opened this issue Mar 23, 2022 · 3 comments
Open

build docker image is error #1

w796933 opened this issue Mar 23, 2022 · 3 comments

Comments

@w796933
Copy link

w796933 commented Mar 23, 2022

                             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
Copy link
Author

w796933 commented Mar 23, 2022

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

@w796933
Copy link
Author

w796933 commented Mar 23, 2022

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

@w796933
Copy link
Author

w796933 commented Mar 23, 2022

[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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant