Add Elastic Beanstalk extensions to install Java 7, update packages

git-svn-id: https://zxing.googlecode.com/svn/trunk@2860 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen@gmail.com 2013-08-08 04:06:24 +00:00
parent 1219e1b6f6
commit f9b966a96e
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,7 @@
packages:
yum:
java-1.7.0-openjdk: []
commands:
use_java7:
command: alternatives --set java /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java

View file

@ -0,0 +1,4 @@
commands:
yum_update:
command: yum update -y
ignoreErrors: true