Comments (8)
Hello 👋 seeing there's no aws-cli
in alpine 3.20 and traced to this issue. Not sure if this is the right outlet to ask, can we ask for help to release aws-cli
for alpine 3.20?
from aws-cli.
Thanks for reporting — as mentioned above, #8342 is the tracking issue for Python 3.12 support in v2. Some additional testing is still required for 3.12 but I've informed the team about this Alpine issue.
from aws-cli.
For now I enabled aws-cli in Alpine v3.20 again with a couple of patches, but stable official Python 3.12 support would be great.
from aws-cli.
No, everything should work as intended. :)
from aws-cli.
Alpine disabled aws-cli on 3.20 because of missing Python 3.12 compat (tracked at #8342). If you use :latest
, make sure to always read the release notes before upgrading: https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.20.0
from aws-cli.
I found a workaround for the missing awscli on alpine issue (tested on node-18:alpine).
apk add --no-cache curl
apk add --no-cache make
apk add --no-cache cmake
apk add --no-cache gcc
apk add --no-cache g++
apk add --no-cache libc-dev
apk add --no-cache libffi-dev
apk add --no-cache openssl-dev
apk add --no-cache python3
python3 -m venv ~/.environment
source ~/.environment/bin/activate
pip install awscli
deactivate
Then keep the environment deactivated, but reactivate the .environment whenever you need to use an aws command.
source ~/.environment/bin/activate
aws ... <- aws commands
deactivate
Obviously use apk del on all the extra packages and rm -rf the .environment directory once you are done.
I'm not sure if the curl, make, etc. are required, just adding python3 might work, but it's been a long day so I froze the script changes the first time I made it work - they were first added when I was trying to install and build the awscli apk.
I needed venv because the alpine docker container was fussy about installing packages from sources other than the repository - but I'm not sure whether this applies to all containers.
from aws-cli.
Alpine disabled aws-cli on 3.20 because of missing Python 3.12 compat (tracked at #8342). If you use
:latest
, make sure to always read the release notes before upgrading: wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.20.0
Got it, thanks for the info 🙏
from aws-cli.
hey @fossdd, that's great to hear! will there be any caveats if we use aws-cli
on Alpine v3.20?
from aws-cli.
Related Issues (20)
- [SSO] - Add CLI parameters to skip prompted values (`--start-url`, etc.)
- `GLIBC_2.28' not found with aws-actions/configure-aws-credentials@v4 action HOT 2
- In aws cloudformation package command, !Sub or !Ref function cannot work properly in Code property of AWS::Lambda::Function resource. HOT 3
- aws-cli/2.17.8 on Linux is flagged as vulnerable to CVE-2024-0397 HOT 4
- Feature request: Support publishing SAM template to SAR that leverages an existing macro HOT 3
- AWS CLI SSO stuck in browser loading state when click Allow HOT 3
- OpenSSL 1.1.1y out of date in ARM distributions HOT 7
- aws sso login still broken for profiles outside of us-east-1 HOT 2
- --profile mandatory even if there is just one profile HOT 2
- setup.py(short issue description) HOT 1
- Option to preserve `role_session_name` when chaining roles HOT 3
- aws rds describe-db-instances missing LatestRestorableTime in output HOT 2
- Installing in relative path installs broken symlinks HOT 2
- awscli IAM list-users and list-access-keys doesn't parse max-items to request body HOT 3
- `aws ec2-instance-connect` times out too fast on MacOS HOT 2
- Support `DescribeExection` for Express Step Functions HOT 2
- aws ec2 import-image doesn't honour the DeviceName in the disk-container file HOT 3
- Example of how to retrieve all logs from a log group stream HOT 1
- get authentication token / password for IAM secured elasticache (Redis OSS)
- Memory leak during recursive deletion of files from S3 bucket HOT 2
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.