Git Product home page Git Product logo

Comments (5)

enarmontas avatar enarmontas commented on August 16, 2024 3

I was able to find the issue. Atlantis is based on Alpine image, which doesn't have compatibility libraries for glibc by default. I have added an extra step to my Dockerfile and now it works:

RUN apk add --no-cache libc6-compat

Is there any reason why terragrunt-atlantis-config is built dynamically vs statically?

from terragrunt-atlantis-config.

dmattia avatar dmattia commented on August 16, 2024

My initial gut reaction is that using mv to /usr/local/bin/ may not be correct here, as there are possibly some permissions issues going on.

Instead, could you try to use the install command like sudo install terragrunt-atlantis-config /usr/local/bin to ensure that the permissions are properly setup? This is how I install it on my docker image (see: https://github.com/transcend-io/terragrunt-atlantis-config/blob/master/README.md#integrate-into-your-atlantis-server)

Please let me know if this does or does not solve your issue 😄

from terragrunt-atlantis-config.

enarmontas avatar enarmontas commented on August 16, 2024

Same issue, I have used this one now:

RUN wget https://github.com/transcend-io/terragrunt-atlantis-config/releases/download/v1.5.0/terragrunt-atlantis-config_1.5.0_linux_amd64.tar.gz && \
  tar xf terragrunt-atlantis-config_1.5.0_linux_amd64.tar.gz && \
  mv terragrunt-atlantis-config_1.5.0_linux_amd64/terragrunt-atlantis-config_1.5.0_linux_amd64 terragrunt-atlantis-config && \
  install terragrunt-atlantis-config /usr/local/bin

When I build the package myself using https://github.com/transcend-io/terragrunt-atlantis-config/blob/master/Dockerfile, it works. Closing this for now, seems like issue with the base Atlantis container.

from terragrunt-atlantis-config.

dmattia avatar dmattia commented on August 16, 2024

Ah, classic Alpine. Great catch @enarmontas!

Being honest I'm not too familiar with dynamic vs static binaries and what the pros/cons might be. If being statically built we be an improvement, an issue would definitely be welcome with a bit of background on what that would help with.

If you're curious about our current release pipeline for builds, this library:

It's a pretty simple setup, so hopefully changing parts of it won't be too complicated.

from terragrunt-atlantis-config.

jeenx avatar jeenx commented on August 16, 2024

+1 I also got bit my this, I found it odd there is a dependency outside the Go binary

from terragrunt-atlantis-config.

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.