aws-cli-v2 with alpine image on docker
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- aws, docker
- Domain
- devops, documentation
Research direction
Start by reviewing the AWS CLI issue at https://github.com/aws/aws-cli/issues/4685 and the Alpine Dockerfile recipe included here; the repository file to update is not identified. Done should mean the AWS CLI v2 installation guidance for Alpine Docker is documented clearly and can be followed successfully.
Written by the indexing model from the issue text.
Description
aws-cli-v2 could not be install on alpine docker easily. Follow instructions here, and it works.
https://github.com/aws/aws-cli/issues/4685
FROM alpine:3.14.2
ENV AWSCLI_VERSION=2.2.41
ENV GLIBC_VER=2.31-r0
RUN apk add --update --no-cache groff
RUN apk add --no-cache --virtual .dependencies binutils curl
&& curl -sL https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub -o /etc/apk/keys/sgerrand.rsa.pub
&& curl -sLO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VER}/glibc-${GLIBC_VER}.apk
&& curl -sLO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VER}/glibc-bin-${GLIBC_VER}.apk
&& curl -sLO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VER}/glibc-i18n-${GLIBC_VER}.apk
&& apk add --no-cache --virtual .glibc
glibc-${GLIBC_VER}.apk
glibc-bin-${GLIBC_VER}.apk
glibc-i18n-${GLIBC_VER}.apk
&& /usr/glibc-compat/bin/localedef -i en_US -f UTF-8 en_US.UTF-8
&& curl -sL https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${AWSCLI_VERSION}.zip -o awscliv2.zip
&& unzip awscliv2.zip
&& aws/install
&& rm -rf
awscliv2.zip
aws
/usr/local/aws-cli/v2//dist/aws_completer
/usr/local/aws-cli/v2//dist/awscli/data/ac.index
/usr/local/aws-cli/v2//dist/awscli/examples
glibc-.apk
&& apk del --purge .dependencies
- Dominant language
- Python
- Stars
- 5
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from davideuler/programming-tips
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
build milvus on Mac Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in davideuler/programming-tips
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100