[softmaker-office] # Criar contêiner com Debian image=docker.io/library/debian:trixie home=~/.softmaker-office # Instalar pacote para suporte à impressão additional_packages="cups" ## INSTALAR PACOTES ## # Instalar SoftMaker Office init_hooks="if [ ! -f /root/.first_run_complete ]; then mkdir -p /etc/apt/keyrings && wget -qO- https://shop.softmaker.com/repo/linux-repo-public.key | gpg --dearmor > /etc/apt/keyrings/softmaker.gpg && echo 'deb [signed-by=/etc/apt/keyrings/softmaker.gpg] https://shop.softmaker.com/repo/apt stable non-free' > /etc/apt/sources.list.d/softmaker.list && sudo apt update && sudo apt -y install softmaker-office-nx; fi" init_hooks="if [ ! -f /root/.first_run_complete ]; then grep -v '/usr/share/officenx' /usr/share/applications/planmaker-nx.desktop > /usr/share/applications/temp_file.txt && mv /usr/share/applications/temp_file.txt /usr/share/applications/planmaker-nx.desktop; fi" init_hooks="if [ ! -f /root/.first_run_complete ]; then grep -v '/usr/share/officenx' /usr/share/applications/presentations-nx.desktop > /usr/share/applications/temp_file.txt && mv /usr/share/applications/temp_file.txt /usr/share/applications/presentations-nx.desktop; fi" init_hooks="if [ ! -f /root/.first_run_complete ]; then grep -v '/usr/share/officenx' /usr/share/applications/textmaker-nx.desktop > /usr/share/applications/temp_file.txt && mv /usr/share/applications/temp_file.txt /usr/share/applications/textmaker-nx.desktop; fi" # Assegurar que a instalação dos pacotes não se repita init_hooks="touch /root/.first_run_complete" # Exportar todos os aplicativos relevantes exported_apps="planmakernx textmakernx presentationsnx"