diff --git a/Containerfile b/Containerfile index 7a10136..86f61cb 100644 --- a/Containerfile +++ b/Containerfile @@ -16,24 +16,6 @@ RUN curl -fsSL https://opencode.ai/install | bash # Prepara a pasta de trabalho (o script vai montar seus arquivos aqui) WORKDIR /workspace -# Script de entrypoint para configurar Git caso variáveis sejam fornecidas -RUN cat > /entrypoint.sh << 'SH' -#!/bin/sh -set -e - -if [ -n "$GIT_NAME" ]; then - git config --global user.name "$GIT_NAME" 2>/dev/null || true -fi - -if [ -n "$GIT_EMAIL" ]; then - git config --global user.email "$GIT_EMAIL" 2>/dev/null || true -fi - -exec "$@" -SH -RUN chmod +x /entrypoint.sh - # Define o comando padrão que vai rodar quando o container iniciar. # Se o nome do executável da sua ferramenta for 'opencode', use assim: -ENTRYPOINT ["/entrypoint.sh"] CMD ["/root/.opencode/bin/opencode"]