Home / Companies / Octopus Deploy / Blog / Post Details
Content Deep Dive

Maintaining your own version of the Azure CLI

Blog post from Octopus Deploy

Post Details
Company
Date Published
Author
Terence Wong
Word Count
460
Language
English
Hacker News Points
-
Summary

Octopus Deploy stopped maintaining the current version of the Azure Command Line Interface (CLI) as of its 2021.1 release, prompting users to manage their own Worker images for deployments involving Azure. The pre-bundled version now triggers a warning, advising users to maintain their own custom Docker containers with the necessary versioning to meet their deployment requirements. The text provides a guide on creating a custom Docker image with the latest Azure CLI version, using a Dockerfile that specifies the operating system and installation commands, and details the process of building and pushing the image to Docker Hub, ensuring compatibility across multiple platforms. By utilizing this approach, users can maintain up-to-date Azure tooling for their Octopus deployments, thereby aligning the tools with their specific deployment needs.