We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88d0c83 commit 1e13010Copy full SHA for 1e13010
docker/Dockerfile
@@ -6,6 +6,20 @@ COPY 000-default.conf /etc/apache2/sites-available/000-default.conf
6
# Enable rewrite mode
7
RUN a2enmod rewrite
8
9
+# Install git
10
+RUN apt-get update
11
+RUN apt-get install libzip-dev git unzip -y --no-install-recommends
12
+
13
+# RUN docker-php-ext-install zip intl mbstring pdo_mysql exif gd
14
+RUN docker-php-ext-install zip pdo_mysql
15
16
+# Install composer
17
+RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
18
+RUN php -r "if (hash_file('sha384', 'composer-setup.php') === '906a84df04cea2aa72f40b5f787e49f22d4c2f19492ac310e8cba5b96ac8b64115ac402c8cd292b8a03482574915d1a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
19
+RUN php composer-setup.php
20
+RUN php -r "unlink('composer-setup.php');"
21
+RUN mv composer.phar /usr/local/bin/composer
22
23
WORKDIR /var/www
24
25
# Change the owner of the container document root
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments