Comments (5)
Hey @brandon-leapyear,
Thanks for your patience on this issue. Can you give me some more insight about your use case? Does Alpine provide any particular utility that our cimg/base
does not?
Thank you again!
Brian
from aws-cli-orb.
✨ This is an old work account. Please reference @brandonchinn178 for all future communication ✨
So this isn't relevant for us anymore because we removed the CI job that ran into this issue. But to respond to your question (and to solve the general problem it seems like 9 other people are having):
We're running a CI Job in the
docker.bintray.io/jfrog/jfrog-cli-go:latest
image
We weren't using cimg/base
, we were running a CI job that deploys files via the jfrog CLI, so we were using the jfrog image, and we needed to use the aws cli in the same job.
from aws-cli-orb.
This is also needed to install the CLI in Docker-in-Docker situation.
For example run:
docker run --rm docker uname -a
or
docker run --rm docker/compose uname -a
What you get is:
x86_64 Linux
from aws-cli-orb.
As a workaround, I move the authentication to it's own job then mount the .aws
folder created to the other jobs
authenticate:
docker:
- image: cimg/base:2022.03
steps:
- aws-ecr/ecr-login
- run: |
mkdir -p /tmp/workspace
cp -r ${HOME}/.aws /tmp/workspace/.aws
cp ${HOME}/.docker/config.json /tmp/workspace
- persist_to_workspace:
root: /tmp/workspace
paths:
- .aws
- config.json
Then
- attach_workspace:
at: /tmp/workspace
- run:
name: Copy AWS Auth config
command: |
mkdir -p ${HOME}/.docker
cp -r /tmp/workspace/.aws ${HOME}/.aws
cp /tmp/workspace/config.json ${HOME}/.docker
from aws-cli-orb.
This was resolved with PR #98
from aws-cli-orb.
Related Issues (20)
- Provide a way for `assume_role_with_web_identity` to not set `AWS_*` environment variables in `BASH_ENV` HOT 4
- `install` on older windows images fails when `override_installed: true` HOT 6
- 'role_arn' IS a required argument when calling 'aws-cli/setup' HOT 2
- circleci/[email protected] fails on aws-cli/setup - Error relocating /usr/bin/curl (alpine)
- Generate shortlived AWS Keys using CircleCI OIDC token fails
- Grep statement in install.sh (Windows) can cause wrong path to be added HOT 1
- 'disable_aws_pager' argument ignored if AWS CLI is already installed
- Enhance Installation Flow for Existing CLI Versions
- multiple calls to setup don't use newest role
- Broken AWS Credentials after #164 (4.1.2) HOT 8
- The documentation on aws sts assume-role is incorrect / not working in real world scenarios HOT 2
- Incorrect Version Check in Installation Script (install.sh) when using 'latest'
- Extra hyphen at the end of role_session_name HOT 1
- upgrade glibc from 2.34-r0 to 2.35-r1 to resolve nsswitch cannot be overwrriten issue
- /tmp/default.keys: No such file or directory HOT 3
- OICD AWS Provider - Old AWS orb version not consistent with > 4.0 version causing issues with AWS Credentials configuration HOT 1
- `setup` command fails with OIDC role while `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` are set in the environment HOT 5
- Unable to use a dynamic `role_arn` with `assume_role_with_web_identity` command HOT 1
- Permission Denied for $BASH_ENV in v4.1.3
- setup not creating fully up to date credentials file
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 aws-cli-orb.