Skip to content

This is a repo to house some common tools for our various docker repos.

License

Notifications You must be signed in to change notification settings

dotnet-docker-bot/docker-tools

 
 

Repository files navigation

docker-tools

This is a repo to house some common tools for use in the various .NET Docker repos.

Image Builder

A tool used to build and publish Docker images.

The Image Builder tool can be acquired via a Docker image available at mcr.microsoft.com/dotnet-buildtools/image-builder or built from source via the build script.

The Image Builder tool relies on metadata which defines various information needed to build and tag Docker images. The metadata is stored in a manifest.json file (sample). The metadata schema is defined in source.

The full list of supported commands can be seen by running the tool.

  • Linux container environment: docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock mcr.microsoft.com/dotnet-buildtools/image-builder:debian-20190223173930 -h

The list of support command options can be seen by specifying the -h command option. The following illustrates how to list the build options.

  • Linux container environment: docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock mcr.microsoft.com/dotnet-buildtools/image-builder:debian-20190223173930 build -h

About

This is a repo to house some common tools for our various docker repos.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 96.5%
  • PowerShell 3.1%
  • Other 0.4%