Created
February 28, 2025 08:49
-
-
Save rlaace423/7b8c1121f2ad859ad50507967dde720e to your computer and use it in GitHub Desktop.
install aws-cli in Alpine Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python 이 없다면 설치 | |
apk add --update --no-cache python3 python3-dev py3-pip build-base | |
# aws-cli 설치 | |
AWSCLI_VERSION=2.24.14 | |
export CFLAGS="-Wno-error=incompatible-pointer-types" # ruamel.yaml.clib 빌드 에러 때문에 필요 | |
apk add --no-cache \ | |
curl \ | |
make \ | |
cmake \ | |
gcc \ | |
g++ \ | |
libc-dev \ | |
libffi-dev \ | |
openssl-dev \ | |
groff | |
curl https://awscli.amazonaws.com/awscli-${AWSCLI_VERSION}.tar.gz | tar -xz | |
cd awscli-${AWSCLI_VERSION} | |
./configure --with-download-deps | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment