This is a repository to contain various UKHO Docker Images and will be pushed to our Dockerhub organization.
Dockerfiles should conform to best practices
| Image Name | Platform | Description |
|---|---|---|
| dependency-check | Linux | Dependency checking tools |
| terraform-win | Windows | Terraform tools for Windows |
| azure | Linux | Azure CLI tools |
| azure-devops | Linux | Azure DevOps tools |
| dotnetcore80-zip | Linux | .NET Core 8.0 with zip tools |
| jdk8-python38 | Linux | JDK 8 with Python 3.8 |
| powershell-azure-node | Linux | PowerShell with Azure CLI and Node.js |
| powershell-azure-node-newman | Linux | PowerShell with Azure CLI, Node.js and Newman |
| terraform | Linux | Terraform tools |
| terraform-azure | Linux | Terraform with Azure CLI |
| terraform-azure-make | Linux | Terraform with Azure CLI and Make |
| terraform-azure-powershell | Linux | Terraform with Azure CLI and PowerShell |
| terraform-azure-powershell-go | Linux | Terraform with Azure CLI, PowerShell and Go |
| terraform-azure-powershell-python-go | Linux | Terraform with Azure CLI, PowerShell, Python and Go |
| terraform-azure-powershell-unzip | Linux | Terraform with Azure CLI, PowerShell and Unzip |
| terraform-powershell | Linux | Terraform with PowerShell |
- Create a directory containing a
Dockerfileand optionally aREADME.md. - Add your entry to the build file. This requires adding a target with the required data, and adding to any groups you wish this to be built as apart of within the pipeline. Information about Docker bake can be found here
- Update this Readme with your docker image information for ease of reference for others.
Run using ./runner lint
Lints the Dockerfiles for good practices using hadolint
If you are using Visual Studio Code, ensure you have the docker dx extension installed. With this you can run builds directly from the bake file.
To run builds from the command line run the following command
docker buildx bake --call build <target_name> #This can be a group or target name depending on what you want to build Intended for CI
Run using ./runner build publish
Builds and pushes the Docker images:
{docker repository from BUILD}/{parent directory}:{latest}