Skip to content

Instantly share code, notes, and snippets.

@123ish
Created September 26, 2020 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 123ish/a99b27cd472057ac2bf269b592c6c3e2 to your computer and use it in GitHub Desktop.
Save 123ish/a99b27cd472057ac2bf269b592c6c3e2 to your computer and use it in GitHub Desktop.
.ebextensions/03_install.config
## for Aamazon Linux 2
commands:
01-install-libs:
command: yum install -y libwebp-devel libjpeg-turbo-devel ImageMagick-devel
02-setup-epel-repo:
command: |
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
if [ $? -ne 1 ]; then # Exit on any any error except 'nothing to do'
exit 0
fi
03-activate-epel-repo:
command: yum-config-manager --enable epel
04-install-epel-libs:
command: yum install -y --enablerepo=epel jemalloc-devel GraphicsMagick-devel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment