Commit df2923d3 authored by Fabio Montefuscolo's avatar Fabio Montefuscolo

composer com memcached

parent 4f04f4d7
......@@ -10,16 +10,20 @@ MAINTAINER Fabio Montefuscolo <fabio.montefuscolo@gmail.com>
RUN a2enmod rewrite expires ssl
# install the PHP extensions we need
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libmemcached-dev && rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
&& docker-php-ext-install gd mysqli opcache zip
&& docker-php-ext-install gd mysqli opcache zip \
&& printf "\n" | pecl install memcached \
&& curl -o installer.php https://getcomposer.org/installer \
&& php installer.php \
&& php installer.php \
&& rm installer.php \
&& mv composer.phar /usr/local/bin/composer
COPY docker-entrypoint.sh /entrypoint.sh
RUN openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout localhost.key -out localhost.crt \
-subj "/C=BR/ST=SP/L=São Roque/O=Hacklab/OU=Development/CN=Dev/emailAddress=a@b.cd" \
&& mv localhost.key /etc/ssl/private/localhost.key \
&& mv localhost.crt /etc/ssl/certs/localhost.crt
COPY localhost.key /etc/ssl/private/localhost.key
COPY localhost.crt /etc/ssl/certs/localhost.crt
COPY default-ssl.conf /etc/apache2/sites-enabled
EXPOSE 80 443
......
-----BEGIN CERTIFICATE-----
MIID/zCCAuegAwIBAgIJAJ+phFCkopxaMA0GCSqGSIb3DQEBCwUAMIGVMQswCQYD
VQQGEwJCUjEVMBMGA1UECAwMU8ODwqNvIFBhdWxvMRUwEwYDVQQHDAxTw4PCo28g
Um9xdWUxEDAOBgNVBAoMB0hhY2tsYWIxCzAJBgNVBAsMAkhMMRIwEAYDVQQDDAls
b2NhbGhvc3QxJTAjBgkqhkiG9w0BCQEWFmNvbnRhdG9AaGFja2xhYi5jb20uYnIw
HhcNMTYwODI0MjIyNzAxWhcNMTcwODI0MjIyNzAxWjCBlTELMA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pr2BOL0aDJlSet/
/9GI5MJgs3k7KgKhrz8ykmh/TUuYYsklRhofp4hKuggXa8EDriR2kaAOSZXc1ox4
GbbHAhL8kAkCgYEAyb6DNURsZPt1+00Iq60LpklZkp5FXcTacVkGRJzU+f2XND3e
evbgT99WDYyTjs7XYyRqgwGLHssfG5nwDcKQAKirj7qanf5xknMvNyEcFUO2O/if
K4/BQDEWpOkvMt2F/6mt0ecArexPafkYYgP1I/D5blBHYKy0ox85inoaNPECgYBT
7OOQ+yfCukgXC9ECxpoXxWvpnwh3DU9rDiqFfCHzGXyLxkbq19seMRgWtjg/Q3vE
EXbQjSP9ylM2fMAHXPcayXB6qvVMaCcfxKZCbhqKBYurjdmz3160PKitjOqYldaT
3WtKEhn1QPBxB2QCufyjB3kwrvuiqSLejqGyVXF7gQKBgHDR/6hFb93DBMeCOnNI
QrHV6poaTX58LgZeAHNbrvIZVww6EXrVb/fLBWk+u4V8nrwWMmMyn0rWDPCAA62z
qdZZ2ogP7CeAo6LQOocZkzXbDfMwwhTFGZAWS3umroSopUHuDKIHqLEtEDsHVR7r
DXDybqwMW71fdnFhLRhrJNAO
-----END PRIVATE KEY-----
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment