Merge branch backend:master into master

This commit is contained in:
Schtil
2025-02-22 21:36:56 +00:00
+1 -1
View File
@@ -31,7 +31,7 @@ test:
find solution -type f -name "Dockerfile*" ! -name "*.*" -print0 | while IFS= read -r -d '' file; do find solution -type f -name "Dockerfile*" ! -name "*.*" -print0 | while IFS= read -r -d '' file; do
echo "Обрабатываем файл: $file" echo "Обрабатываем файл: $file"
if ! grep -q "^ENV http_proxy" "$file"; then if ! grep -q "^ENV http_proxy" "$file"; then
sed -i '/^FROM/ a ENV http_proxy=http:\/\/84.201.181.188:15000\nENV https_proxy=http:\/\/84.201.181.188:15000' "$file" sed -i '/^FROM/ a ENV http_proxy=http:\/\/84.201.181.188:15000\nENV https_proxy=http:\/\/84.201.181.188:15000\nENV no_proxy=localhost' "$file"
echo "Добавлены прокси-переменные в $file" echo "Добавлены прокси-переменные в $file"
else else
echo "Прокси-переменные уже присутствуют в $file" echo "Прокси-переменные уже присутствуют в $file"