File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ RUN docker-php-ext-install -j$(nproc) sysvsem
72
72
RUN docker-php-ext-install -j$(nproc) sysvshm
73
73
RUN docker-php-ext-install -j$(nproc) wddx
74
74
RUN docker-php-ext-install -j$(nproc) shmop
75
+ RUN docker-php-ext-install -j$(nproc) zip
75
76
76
77
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl
77
78
RUN docker-php-ext-install -j$(nproc) imap
@@ -97,8 +98,17 @@ RUN cp "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
97
98
# Enable apache2 modules
98
99
RUN a2enmod rewrite
99
100
101
+ # Install original composer
102
+ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
103
+ RUN php -r "if (hash_file('sha384', 'composer-setup.php') === '93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
104
+ RUN php composer-setup.php
105
+ RUN mv composer.phar /usr/local/bin/composer
106
+ RUN php -r "unlink('composer-setup.php');"
107
+
100
108
# Clean files
101
109
RUN apt-get autoclean
102
110
RUN apt-get clean
103
111
RUN apt-get autoremove
104
112
RUN rm -rf /tmp/*
113
+
114
+ WORKDIR /var/www/html
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Dockerized LAMPP stack based on these components:
5
5
6
6
* Apache2
7
7
* PHP 5.6
8
- * PhpMyAdmin 4.4.13.1
8
+ * PhpMyAdmin 4.8
9
9
* MariaDB 10.3
10
10
* Redis 3.0.7
11
11
* MongoDb 3.4.4
You can’t perform that action at this time.
0 commit comments