Skip to content

A custom docker image of Atlantis tool for cloud to run terraform.

Notifications You must be signed in to change notification settings

mattermost/mattermost-atlantis-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mattermost-atlantis-docker

This repository contains the necessary files to build a custom Docker image for the Atlantis tool using Docker Buildx. It supports building multi-platform images and pushing them to Docker Hub.

Prerequisites

Before you begin, ensure you have the following installed:

  • Docker with Buildx enabled
  • Make sure you are logged into Docker Hub or have the credentials available for login

Environment Variables

To push the image to Docker Hub, the following environment variables should be set:

  • DOCKER_USERNAME: Your Docker Hub username
  • DOCKER_PASSWORD: Your Docker Hub password or access token

Variables

The Makefile accepts the following optional variables:

  • ATLANTIS_VERSION: The version of Atlantis to include in the Docker image. Defaults to v0.27.3.
  • MATTERMOST_ATLANTIS_IMAGE: The name of the Docker image to build. Defaults to mattermost/atlantis:test.
  • PLATFORMS: The platforms for which to build the image. Defaults to linux/amd64,linux/arm64.
  • MATTERMOST_ATLANTIS_REPO: The Docker repository where the image will be pushed. Defaults to mattermost/atlantis.

Makefile Targets

build-image

This command builds the Docker image and pushes it to the Docker repository specified by MATTERMOST_ATLANTIS_IMAGE.

make build-image

About

A custom docker image of Atlantis tool for cloud to run terraform.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •