Skip to content

fykosak/docker-buildtools

Repository files navigation

Docker FKS buildtools Docker Image Size (tag) GitHub Workflow Status

🐋 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

Tags

  • 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. master is tagged as master.
  • Each git tag is also a tag of the image. Moreover, if the tag has (.*)\.(.*) format, also the major tags are created. For example, FYKOS35.1 is tagged as FYKOS35.1 and FYKOS35.

Known issues

  • Layer cache can be invalidated by commits from other branches.

Releases

No releases published

Packages

No packages published