Skip to content

Instantly share code, notes, and snippets.

@aofry aofry/.alias
Created May 24, 2018

Embed
What would you like to do?
alias serverless='~/work/serverless/bin/serverless'
alias sls=serverless
#tools with docker
alias aws='docker run --rm -t $(tty &>/dev/null && echo "-i") -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" -e "AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}"
-v "$(pwd):/project" mesosphere/aws-cli'
alias npmd='docker run --rm -v "$(pwd):/usr/src/app" node:8.11.2-onbuild npm'
alias gradled='docker run --rm -v "$PWD":/home/gradle/project -w /home/gradle/project gradle:4.7.0-jdk8 gradle'
alias dockenv='eval $("docker-machine" env)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.