From 8cebf58f8322622ddfb6240501b57990420b3d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pedro=20Toledo?= Date: Thu, 29 Jan 2026 15:08:13 -0300 Subject: [PATCH] chore: rollback to working state 9f18a45 (no bashrc mapping) --- docker-compose.yml | 4 ++-- entrypoint.sh | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 18a592e..34f6904 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,8 +6,8 @@ services: network_mode: host volumes: # Personalização do Shell e Scripts - # Montado em /opt para ser distribuído pelo entrypoint (evita erro de montagem como diretório) - - ./.bashrc:/opt/custom_bashrc:ro + - ./.bashrc:/root/.bashrc:ro + - ./.bashrc:/etc/bash.bashrc:ro # Volumes para Configurações (Persistência Interna) # Um único volume para o diretório de configs do Nginx (preserva nginx.conf, conf.d e snippets) diff --git a/entrypoint.sh b/entrypoint.sh index a226553..364a7c9 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,14 +3,6 @@ # Carrega o .bashrc se existir [ -f ~/.bashrc ] && . ~/.bashrc -# Distribui o .bashrc customizado se montado -if [ -f /opt/custom_bashrc ]; then - echo "📄 Aplicando .bashrc customizado..." - cat /opt/custom_bashrc > /root/.bashrc - cat /opt/custom_bashrc > /home/itguys/.bashrc - chown itguys:itguys /home/itguys/.bashrc -fi - # Gera chaves de host SSH se não existirem ssh-keygen -A