mirror of
				https://github.com/casjaysdevdocker/redis
				synced 2025-11-04 07:02:10 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
Dockerfile rootfs/usr/local/etc/docker/functions/entrypoint.sh
This commit is contained in:
		@@ -100,8 +100,9 @@ RUN \
 | 
			
		||||
  PHP_BIN="$(command -v ${PHP_VERSION} 2>/dev/null || true)"; \
 | 
			
		||||
  PHP_FPM="$(ls /usr/*bin/php*fpm* 2>/dev/null || true)"; \
 | 
			
		||||
  pip_bin="$(command -v python3 2>/dev/null || command -v python2 2>/dev/null || command -v python 2>/dev/null || true)"; \
 | 
			
		||||
  py_version="$(command $pip_bin --version | sed 's|[pP]ython ||g' | awk -F '.' '{print $1$2}' | grep '[0-9]' || true)"; \
 | 
			
		||||
  py_version="$(command $pip_bin --version 2>/dev/null | sed 
 | 
			
		||||
  [ "$py_version" -gt "310" ] && pip_opts="--break-system-packages " || pip_opts=""; \
 | 
			
		||||
  [ -n "$pip_bin" ] && [ -n "$pip_opts" ] && $pip_bin install $pip_opts --upgrade pip 2>/dev/null || true;
 | 
			
		||||
  if [ -n "$pip_bin" ];then $pip_bin -m pip install --break-system-packages certbot-dns-rfc2136 certbot-dns-duckdns certbot-dns-cloudflare certbot-nginx $pip_opts || true;fi; \
 | 
			
		||||
  [ -f "$BASH_CMD" ] && { rm -rf "/bin/sh" || true; } && ln -sf "$BASH_CMD" "/bin/sh" || true; \
 | 
			
		||||
  [ -n "$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'$BASH_CMD'|g' "/etc/passwd" || true; \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user