Comments (5)
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.
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.
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.
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:
- defines a goxc config here: https://github.com/transcend-io/terragrunt-atlantis-config/blob/master/.goxc.json
- Has a Makefile rule to call goxc via
make build-all
defined here: https://github.com/transcend-io/terragrunt-atlantis-config/blob/master/Makefile#L25-L32 - Has a Github Actions workflow that on releases will call that Makefile rule and upload the files to our release: https://github.com/transcend-io/terragrunt-atlantis-config/blob/master/.github/workflows/release.yml#L33-L45
It's a pretty simple setup, so hopefully changing parts of it won't be too complicated.
from terragrunt-atlantis-config.
+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)
- Guidelines for multi-environment setup? HOT 2
- Support .terraform-version files (as tfenv) HOT 1
- example of atlantis config output HOT 2
- Is the project abandoned? HOT 14
- Is there is any command in atlantis which will be equivalent to terragrunt destroy? HOT 1
- `run_cmd` fail with options as first arg
- Grace handle of `/dev/null` when destroying modules HOT 2
- Support generating new depends_on key HOT 2
- tests fail when run in VSCode in Windows
- tristan-weil/ghaction-checksum-sign-artifact no longer exists HOT 1
- Invalid Release Checksum Format HOT 6
- Docker images are not published HOT 11
- Evaluating local relative paths
- bug: execution_order_group does not print 0 values when active HOT 4
- bug: execution_order_group does not work with a folder without *.hcl files in the file structure
- Generic artifact names in release archives
- broken release HOT 1
- execute atlantis operations using group tags on projects HOT 1
- Preserve allowed_regexp_prefixes repo level key
- README: Installation process HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terragrunt-atlantis-config.