Skip to content
  • Spencer Williams's avatar
    Update Dockerfile for smoother startup · d6fa6f89
    Spencer Williams authored
      * It turned out to not be necessary to use the ENTRYPOINT command.
        Running a script after everything else seems to be an appropriate
        time. The biggest concern was making sure the network was setup
        so that an IP for the container was in place for Xdebug's
        configuration.
      * The scripts to be ran at the end of the Dockerfile are explicitly
        set to be executable so that when using Docker for Windows, the
        files are sure to be executable. Otherwise, it will depend on
        their file attributes in the host environment for OS X and Linux.
      * One important thing to note is to make sure when working with a
        Windows host that the script files have Unix line endings.
        Otherwise, the container may think the files don't exist when
        trying to execute them.
    d6fa6f89