I'm configuring a .emacs.d
folder for putting inside a Docker container. On Docker, I need to install all the tools that I want on my image while I'm building the image. Even though I can properly put my .emacs.d
folder in the right place, I always rely on opening emacs inside the docker image (the first time after building it) and waiting it to install all the emacs packages from my init.el
file after creating the image. I'd like to install those packages while I'm building my docker image.
Is there any emacs command I can use to run the init.el
file from the command line? Just so my configurations will be ready to use in the docker container when I open it for the first time?