How does one get the size of a Docker image before they pull it to their machine?
When it comes to perform customization to startup scripts in order to initialize or tune something, it’s not obvious to pick the right startup file. The way the system is reading startup files depends on the context and mainly if the shell is
- Interactive / non-interactive shell
- Login / non-login shell
When packages are installed in a
Dockerfile through APT (Debian, Ubuntu) you should comply with some best practices.
One of the main reason is to try to keep the image as as small as possible, but it’s not the only one.
Let’s examine a typical snippet of package’s installation.
Sample startup files are traditionally kept in
/etc/skel. If you customize your systems' startup file examples,
/usr/local/etc/skelis a reasonable place to put the modified copies.1
Recently I had to use the R test framework called testthat. I noticed that this framework is very human oriented. Its name comes from the way to write tests that aims to make a readable sentence.