anchor.diff:  # Script de inicialização da aplicação
   ADD openiot.sh /openiot.sh
   
  +# Remove diversas aplicações inúteis
  +# TODO: REMOVE ALL UNANTHED APPLICATIONS
  +
  +# Finaliza a instalação
  +RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  +
   # Ponto de entrada
  -CMD ["/openiot.sh"]
  +CMD ["/bin/bash", "/openiot.sh"]
   
   # References
   # https://www.digitalocean.com/community/tutorials/docker-explained-using-dockerfiles-to-automate-building-of-images
  
positive.code: # https://hub.docker.com/_/ubuntu/
  # https://github.com/jboss-dockerfiles/base-jdk/blob/jdk7/Dockerfile
  # https://hub.docker.com/r/jboss/base/
  # https://hub.docker.com/r/jboss/base/~/dockerfile/
  # https://hub.docker.com/r/tenforce/virtuoso/~/dockerfile/
  
  
negative.code: ADD jboss-service /etc/init.d/jboss-service
  ADD jboss-as.conf /etc/jboss-as/jboss-as.conf
  
  # Adiciona o Jboss a inicialização
  RUN chmod 755 /etc/init.d/jboss-service && \
      chown root:root /etc/init.d/jboss-service && \
      update-rc.d jboss-service defaults
  
  # Cria o usuario jboss e adiciona as permissões para a home do jboss
  RUN useradd jboss --home $JBOSS_HOME && \
      chown -R jboss:jboss $JBOSS_HOME
  
  