Skip to content

Instantly share code, notes, and snippets.

@andrewodri
Created October 20, 2018 19:59
Show Gist options
  • Save andrewodri/0b5999b2303f6082c0a0bcfff91af1b8 to your computer and use it in GitHub Desktop.
Save andrewodri/0b5999b2303f6082c0a0bcfff91af1b8 to your computer and use it in GitHub Desktop.
One-line installs for amazonlinux:1
#!/bin/bash
curl --silent --show-error --location "https://github.com/jpignata/fargate/releases/download/v0.2.3/fargate-0.2.3-linux-amd64.zip" | bsdtar -xf - -C /usr/local/bin && chmod +x /usr/local/bin/fargate
curl --silent --show-error --location "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" | bsdtar -xf - -C /tmp && chmod 755 /tmp/awscli-bundle/install && /tmp/awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws && rm -rf /tmp/awscli-bundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment