Skip to content

Instantly share code, notes, and snippets.

@mausch
Created May 15, 2020 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mausch/b94d8626e440d15b9eb944c6b1deab7c to your computer and use it in GitHub Desktop.
Save mausch/b94d8626e440d15b9eb944c6b1deab7c to your computer and use it in GitHub Desktop.
Run AWS CLI v1 on Alpine
Kudos to https://matthewbauer.us/blog/static-nix.html
$ docker run --rm -it -w /root alpine
$ apk add curl
$ curl https://matthewbauer.us/nix -o nix && chmod +x nix
$ ./nix run -f channel:nixpkgs-unstable awscli -c aws --version
aws-cli/1.17.13 Python/3.7.7 Linux/4.19.116 botocore/1.14.13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment