Jeppe Fihl-Pearson 571543fdfb fix(docker): fix base image for multi-platform build (#2099)
* Correct indentation of run commands

* Split installation of packages into the ones needed at run time and build time

This allows us to now repeat the packages which need to be uninstalled again by
making use of a virtual package, which - when removed - removes the packages
installed as a dependency of it.

* Remove unnecessary `rm -rf /var/cache/apk/*` command

It's no needed when `apt add` is run with the `--no-cache` option.

* Add vertical spacing so it's clearer what is happening when

* Test the downloaded binaries to make sure they work on the platform

This can help find issues where binaries are downloaded for the wrong platform
compared to the architecture the Docker image is built for.

* Install dumb-init via apk

It's available as a package for Alpine Linux in version 1.2.5 as well, which
makes it easier to handle for the different architectures.

* Get git-lfs binaries in the right architecture for the Docker image

This makes use of the `TARGETPLATFORM` argument which automatically is
populated by Docker BuildKit with a string such as "linux/amd64" when the image
is being build for an x86_64 architecture.

* Install gosu for the right architecture

The `case` statement was taken from
https://github.com/BretFisher/multi-platform-docker-build as a way of
translating the platform name into what we needed for downloading gosu.
2022-03-02 11:08:03 -05:00
2022-02-16 15:42:38 -05:00
2022-02-23 00:39:13 -05:00
2022-02-28 11:18:01 -05:00
2022-02-16 15:42:38 -05:00
2022-02-16 15:42:38 -05:00
2022-02-28 11:18:01 -05:00
2021-03-23 13:54:55 -04:00
2022-01-10 10:13:00 -05:00
2022-03-01 23:40:40 -05:00
2022-03-01 23:40:40 -05:00
2018-03-15 17:25:02 -07:00
2022-02-28 11:18:01 -05:00
2018-08-16 13:02:09 -10:00
2021-09-02 00:35:52 -04:00
2020-04-21 20:44:12 -07:00

Atlantis

SuperDopeBadge Go Report Card codecov CircleCI Slack

Atlantis Logo

Terraform Pull Request Automation

Resources

What is Atlantis?

A self-hosted golang application that listens for Terraform pull request events via webhooks.

What does it do?

Runs terraform plan and apply remotely and comments back on the pull request with the output.

Why should you use it?

  • Make Terraform changes visible to your whole team.
  • Enable non-operations engineers to collaborate on Terraform.
  • Standardize your Terraform workflows.

Stargazers over time

Stargazers over time

Description
Terraform Pull Request Automation
Readme 215 MiB