GithubHelp home page GithubHelp logo

Provide arm64 build about terragrunt HOT 8 CLOSED

alpine-docker avatar alpine-docker commented on June 18, 2024 1
Provide arm64 build

from terragrunt.

Comments (8)

ozbillwang avatar ozbillwang commented on June 18, 2024 3

the pipeline to build for ARM is not stable.

https://github.com/ozbillwang/multi-arch-docker-build

I have implemented a sample multi-arch build repo from a fork repo (it was archived by author) with improvements, but still not stable enough. Currently it is stuck to install ca-certificates in some arch.

#18 6.504 (1/1) Installing ca-certificates (20191127-r7)
#18 6.679 Executing busybox-1.34.1-r3.trigger
#18 6.916 Executing ca-certificates-20191127-r7.trigger
#18 6.939 ERROR: ca-certificates-20191127-r7.trigger: script exited with error 1
#18 6.962 OK: 7 MiB in 17 packages

amd64 is fine, but not arm
image

there are disucssion about this issue, but no fix currently.

Have to put this request on hold.

if the solution works, I can adjust all repos in this group to multiple arch.

from terragrunt.

denisa avatar denisa commented on June 18, 2024 1
$ docker run -ti --rm alpine/terragrunt terraform --version
Terraform v1.4.5
on linux_arm64
$ docker run -ti --rm  alpine/terragrunt terragrunt --version 
terragrunt version v0.45.4

on an m1 mac mini.

Seems to be working fine, thanks!

from terragrunt.

denisa avatar denisa commented on June 18, 2024

Have there been any progress since January 2022?

from terragrunt.

ozbillwang avatar ozbillwang commented on June 18, 2024

Ok, seems its base image hashicorp/terraform is ready for multiple platform.

will take a try

image

from terragrunt.

ozbillwang avatar ozbillwang commented on June 18, 2024

@kirrmann

it is ready, pleaes run the test from new Apple chip (M1/M2)

image

from terragrunt.

ozbillwang avatar ozbillwang commented on June 18, 2024

@denisa

run a test on ARM as well, wait for the result

from terragrunt.

ozbillwang avatar ozbillwang commented on June 18, 2024

My test is fine, but I run on macbook with intel chip

$ docker run -ti --rm --platform "linux/arm64" alpine/terragrunt terraform --version
Terraform v1.4.5
on linux_arm64

$ docker run -ti --rm --platform "linux/arm64" alpine/terragrunt terragrunt --version
terragrunt version v0.45.4

from terragrunt.

ozbillwang avatar ozbillwang commented on June 18, 2024

Thanks for the confirmation.

Base image hashicorp/terraform supports four platforms only, and terragrunt itself doesn't support in linux/arm/v6 so I implement with other 3 platforms.

  • linux/arm64
  • linux/amd64
  • linux/386

All good now.

from terragrunt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.