This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Copyright (c) 2007, Roger Veciana | |
| * All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions are met: | |
| * | |
| * Redistributions of source code must retain the above copyright notice, this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #To execute it directly: sudo bash <(curl -s https://gist.githubusercontent.com/devpang/732e494aa33f7e493528181d49a771fb/raw/211d1269a19e4fd9864247541377f5c7be7862fc/install-php-tools.sh) | |
| BIN_PATH=/usr/local/bin/ | |
| #COMPOSER | |
| sudo curl -LsS https://getcomposer.org/composer.phar -o ${BIN_PATH}composer | |
| sudo chmod a+x ${BIN_PATH}composer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # php-5.5 | |
| FROM daccbr/php:5.5-fpm-alpine | |
| RUN addgroup -g 1000 sumup && adduser -u 1000 -h /home/sumup -H -G sumup -s /bin/false -D sumup | |
| RUN apk --update add openssh-client libtool make grep autoconf gcc libc-dev zlib-dev | |
| RUN cd /tmp \ | |
| && apk --update add cyrus-sasl-dev libmemcached-dev \ | |
| && curl -L --progress-bar -o "php-memcached-2.2.0.tar.gz" "https://github.com/php-memcached-dev/php-memcached/archive/2.2.0.tar.gz" \ |