🐋 hub.docker.com/r/fykosak/buildtools
To run make from the current working directory, use:
docker run -it --rm -v "$PWD":/usr/src/local --user=$(id -u) fykosak/buildtools make
Please keep in mind that the container has no access to files outside of the current working directory, hence make from subdirectories containing reference to the parent Makefile will not work.
Instead you must use make with the directory argument:
docker run -it --rm -v "$PWD":/usr/src/local --user=$(id -u) fykosak/buildtools make -C leaflet1
If you want to run make on only one file in subdirectory, append the filename at the end of the command, just like with regular make:
docker run -it --rm -v "$PWD":/usr/src/local --user=$(id -u) fykosak/buildtools make -C leaflet1 out/leaflet1.pdf
- Use
sha-{short_commit_id}tags to pin the specific version of the image in the automatic build environments. - Each branch has a corresponding tag, e.g.
masteris tagged asmaster. - Each git tag is also a tag of the image. Moreover, if the tag has
(.*)\.(.*)format, also themajortags are created. For example,FYKOS35.1is tagged asFYKOS35.1andFYKOS35.
- Layer cache can be invalidated by commits from other branches.