diff --git a/.ebextensions/deploy.config b/.ebextensions/deploy.config index e2f1ab33d..7aba5ca1c 100644 --- a/.ebextensions/deploy.config +++ b/.ebextensions/deploy.config @@ -12,8 +12,23 @@ packages: git: [] sendmail: [] sendmail-cf: [] + libXinerama.x86_64: [] + cups-libs: [] + dbus-glib: [] files: + "/tmp/libreofficeinstall.sh" : + mode: "000755" + owner: root + group: root + content: | + #!/usr/bin/env bash + wget http://download.documentfoundation.org/libreoffice/stable/5.3.6/rpm/x86_64/LibreOffice_5.3.6_Linux_x86-64_rpm.tar.gz + tar -xvzf LibreOffice_5.3.6_Linux_x86-64_rpm.tar.gz + cd LibreOffice_5.3.6.1_Linux_x86-64_rpm/RPMS + yum install *.rpm + cd / + rm -r /tmp/LibreOffice_5.3.6_Linux_x86-64_rpm.tar.gz /tmp/LibreOffice_5.3.6.1_Linux_x86-64_rpm "/etc/nginx/conf.d/proxy.conf" : mode: "000755" owner: root @@ -250,6 +265,11 @@ files: echo "$(date '+%Y-%m-%d %H:%M:%S') $(free -m | grep Mem: | sed 's/Mem://g')" exit 0 +commands: + install_libreoffice: + command: 'yes | sudo ./libreofficeinstall.sh' + cwd: /tmp + Resources: AWSEBAutoScalingGroup: