admin管理员组文章数量:1122832
Im attempting to download the following GitHub repo
and getting a 404 error when docker executes the wget command. The repo is a customized version of nginx rtmp module.
Here are the problematic lines :
ARG NGINX_VERSION=1.23.1
ARG NGINX_RTMP_MODULE_VERSION=1.2.2
# Download and decompress customized RTMP module.
RUN mkdir -p /tmp/build/nginx-rtmp-module && \
cd /tmp/build/nginx-rtmp-module && \
wget -O nginx-rtmp-module-${NGINX_RTMP_MODULE_VERSION}.tar.gz ${NGINX_RTMP_MODULE_VERSION}.tar.gz && \
tar -zxf nginx-rtmp-module-${NGINX_RTMP_MODULE_VERSION}.tar.gz && \
cd nginx-rtmp-module-${NGINX_RTMP_MODULE_VERSION}
I replaced the following lines with the above since I required a customized version of the Nginx rtmp module. The one below has no issues.
RUN mkdir -p /tmp/build/nginx && \
cd /tmp/build/nginx && \
wget
module/archive/v${NGINX_RTMP_VERSION}.tar.gz && \
tar zxf v${NGINX_RTMP_VERSION}.tar.gz && \
rm v${NGINX_RTMP_VERSION}.tar.gz
I cant figure this one out. I used the github repo url and pasted it in the link field.From the initial look , it could be the NGINX_RTMP_MODULE_VERSION which could be wrong but I'm not sure. Kindly guide me in the right direction.
Thanking in advance.
Im attempting to download the following GitHub repo
https://github.com/ut0mt8/nginx-rtmp-module
and getting a 404 error when docker executes the wget command. The repo is a customized version of nginx rtmp module.
Here are the problematic lines :
ARG NGINX_VERSION=1.23.1
ARG NGINX_RTMP_MODULE_VERSION=1.2.2
# Download and decompress customized RTMP module.
RUN mkdir -p /tmp/build/nginx-rtmp-module && \
cd /tmp/build/nginx-rtmp-module && \
wget -O nginx-rtmp-module-${NGINX_RTMP_MODULE_VERSION}.tar.gz https://github.com/ut0mt8/nginx-rtmp-module/archive/v${NGINX_RTMP_MODULE_VERSION}.tar.gz && \
tar -zxf nginx-rtmp-module-${NGINX_RTMP_MODULE_VERSION}.tar.gz && \
cd nginx-rtmp-module-${NGINX_RTMP_MODULE_VERSION}
I replaced the following lines with the above since I required a customized version of the Nginx rtmp module. The one below has no issues.
RUN mkdir -p /tmp/build/nginx && \
cd /tmp/build/nginx && \
wget https://github.com/arut/nginx-rtmp-
module/archive/v${NGINX_RTMP_VERSION}.tar.gz && \
tar zxf v${NGINX_RTMP_VERSION}.tar.gz && \
rm v${NGINX_RTMP_VERSION}.tar.gz
I cant figure this one out. I used the github repo url and pasted it in the link field.From the initial look , it could be the NGINX_RTMP_MODULE_VERSION which could be wrong but I'm not sure. Kindly guide me in the right direction.
Thanking in advance.
Share Improve this question edited Nov 22, 2024 at 17:57 Earthling asked Nov 22, 2024 at 17:34 EarthlingEarthling 4417 silver badges28 bronze badges1 Answer
Reset to default 0The repo you are pulling from https://github.com/ut0mt8/nginx-rtmp-module
does not have a v1.2.2
package, see available releases here.
Compare with your original repo's releases (arut/nginx-rtmp-module
) here.
The latest available in ut0mt8/nginx-rtmp-module
is v1.2.0
.
本文标签: Docker wget returning a 404 error for a Github repoStack Overflow
版权声明:本文标题:Docker wget returning a 404 error for a Github repo - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736301898a1931337.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论