Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
This Git distribution is provided by the downstream Debian 13 packaging team in the version respective to that system.
Run a temporary container with Git:
docker run --rm -it sourcemation/git
Run a temporary container with Git as root:
docker run -u 0 --rm -it sourcemation/git
Clone a repository to local directory:
docker run -u 0 --rm -v $(pwd):/workspace -w /workspace sourcemation/git git clone https://github.com/Sourcemation/images.git
The sourcemation/git image comes in the debian-13 flavor. The tag latest refers to the latest Debian-based image.
Available tags:
latest - Latest Debian 13 based imagelatest-arm64 - Latest Debian 13 based image for ARM architecturelatest-amd64 - Latest Debian 13 based image for x86-64 architecture2.47.3 - Specific Git version on Debian 132.39.5 - Specific Git version on Debian 12This image uses the following environment variables:
LANG=C.UTF-8
DEBIAN_FRONTEND=noninteractive
HOME=/home/git
Volumes:
/workspace - Recommended mount point for your project files/home/git - Git user's home directory for configurationUser:
git (non-root) for security--user or -u flag if neededThis image does not expose any ports as Git is primarily a command-line tool.
We'd love for you to contribute! You can request new features, report bugs, or submit a pull request with your contribution to this image on the Sourcemation GitHub repository.
Disclaimer: The sourcemation/git image is not affiliated with the Git project or the Git development team. Git and its logo are trademarks of the Git project. The sourcemation/git image is a separate project and is maintained by Sourcemation.
git) for improved securityA detailed risk analysis report of the image and its components can be found on the Sourcemation platform. For more information, check out the overview of Git page.
The base license for the solution (Git) is the GNU General Public License v2.0. The licenses for each component shipped as part of this image can be found on the image's appropriate Sourcemation entry.
Content type
Image
Digest
sha256:d0c54426e…
Size
67.2 MB
Last updated
4 days ago
docker pull sourcemation/git