Skip to content

Commit

Permalink
feature/#9 - run aws cli v1 and v2 in same image
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Wang committed Feb 1, 2021
1 parent 16b9105 commit 5190816
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
# Push something on to $PATH depending on the environment
case "${version}" in
v1) PATH="/usr/bin:$PATH" ;;
v2) PATH="/usr/local/bin:$PATH" ;;
*) PATH="/usr/bin:$PATH" ;;
esac
# Then run the CMD
exec "$@"

0 comments on commit 5190816

Please sign in to comment.