Skip to content

UKHO/dockerimages

Repository files navigation

Docker Images Build Status

About

This is a repository to contain various UKHO Docker Images and will be pushed to our Dockerhub organization.

Dockerfiles should conform to best practices

Available Images

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

How to add a Docker Image

  1. Create a directory containing a Dockerfile and optionally a README.md.
  2. 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
  3. Update this Readme with your docker image information for ease of reference for others.

Lint

Run using ./runner lint

Lints the Dockerfiles for good practices using hadolint

Build

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  

Publish

Intended for CI

Run using ./runner build publish

Builds and pushes the Docker images:

  • {docker repository from BUILD}/{parent directory}:{latest}

About

Contains various Docker Images

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 16