Revert "Dockerfile: Patch oe-git-proxy to truly disable proxying by default"
This reverts commit 7bd738a43c.
The bug has been fixed upstream, ne need to patch the script anymore.
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
			
			
This commit is contained in:
		
				
					committed by
					
						
						Jan Kiszka
					
				
			
			
				
	
			
			
			
						parent
						
							02fcc52007
						
					
				
				
					commit
					363eca077c
				
			@@ -25,10 +25,7 @@ RUN wget -nv -O /usr/bin/gosu "https://github.com/tianon/gosu/releases/download/
 | 
			
		||||
    chmod +x /usr/bin/gosu
 | 
			
		||||
 | 
			
		||||
RUN wget -nv -O /usr/bin/oe-git-proxy "http://git.yoctoproject.org/cgit/cgit.cgi/poky/plain/scripts/oe-git-proxy" && \
 | 
			
		||||
    chmod +x /usr/bin/oe-git-proxy && \
 | 
			
		||||
    sed -e 's|for H in \${NO_PROXY//,/ }|for H in "${NO_PROXY//,/ }"|' \
 | 
			
		||||
        -e 's|	if match_host \$1 \$H|	if match_host $1 "$H"|' \
 | 
			
		||||
        -i /usr/bin/oe-git-proxy
 | 
			
		||||
    chmod +x /usr/bin/oe-git-proxy
 | 
			
		||||
ENV GIT_PROXY_COMMAND="oe-git-proxy"
 | 
			
		||||
ENV NO_PROXY="*"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user