You will need:
This guide is based on Ubuntu, for other OS, use their package manager instead.
| #!/bin/sh | |
| # Based on BMitch's answer from: | |
| # https://stackoverflow.com/questions/38946683/how-to-test-dockerignore-file | |
| # Note: will create and delete temporary file "Dockerfile.build-context" | |
| # 1. Copy to project folder where image is being built | |
| # 2. Run script | |
| # 3. You should see list of files in build context |
You will need:
This guide is based on Ubuntu, for other OS, use their package manager instead.
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.