File tree Expand file tree Collapse file tree 6 files changed +68
-0
lines changed Expand file tree Collapse file tree 6 files changed +68
-0
lines changed Original file line number Diff line number Diff line change @@ -11,4 +11,12 @@ RUN mkdir -p /tmp/xdebug && cd /tmp/xdebug \
1111 && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
1212 && echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini
1313
14+ RUN apt-get install wget -yqq && wget https://composer.github.io/installer.sig -O - -q | tr -d '\n ' > installer.sig \
15+ && php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
16+ && php -r "if (hash_file('SHA384', 'composer-setup.php') === file_get_contents('installer.sig')) { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
17+ && php composer-setup.php \
18+ && php -r "unlink('composer-setup.php'); unlink('installer.sig');" \
19+
20+
1421CMD ["apache2" , "-DFOREGROUND" ]
22+
Original file line number Diff line number Diff line change @@ -9,3 +9,15 @@ RUN mkdir -p /tmp/xdebug && cd /tmp/xdebug \
99 && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
1010 && echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini
1111
12+ RUN apt-get update -yqq \
13+ && apt-get install git -yqq \
14+ && apt-get install wget -yqq \
15+ && apt-get install zip -yqq \
16+ && apt-get install unzip -yqq
17+
18+ RUN wget https://composer.github.io/installer.sig -O - -q | tr -d '\n ' > installer.sig \
19+ && php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
20+ && php -r "if (hash_file('SHA384', 'composer-setup.php') === file_get_contents('installer.sig')) { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
21+ && php composer-setup.php \
22+ && php -r "unlink('composer-setup.php'); unlink('installer.sig');" \
23+ && mv composer.phar /usr/local/bin/composer
Original file line number Diff line number Diff line change @@ -5,3 +5,15 @@ RUN yes | pecl install xdebug \
55 && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
66 && echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini
77
8+ RUN apt-get update -yqq \
9+ && apt-get install git -yqq \
10+ && apt-get install wget -yqq \
11+ && apt-get install zip -yqq \
12+ && apt-get install unzip -yqq
13+
14+ RUN wget https://composer.github.io/installer.sig -O - -q | tr -d '\n ' > installer.sig \
15+ && php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
16+ && php -r "if (hash_file('SHA384', 'composer-setup.php') === file_get_contents('installer.sig')) { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
17+ && php composer-setup.php \
18+ && php -r "unlink('composer-setup.php'); unlink('installer.sig');" \
19+ && mv composer.phar /usr/local/bin/composer
Original file line number Diff line number Diff line change @@ -5,3 +5,15 @@ RUN yes | pecl install xdebug \
55 && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
66 && echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini
77
8+ RUN apt-get update -yqq \
9+ && apt-get install git -yqq \
10+ && apt-get install wget -yqq \
11+ && apt-get install zip -yqq \
12+ && apt-get install unzip -yqq
13+
14+ RUN wget https://composer.github.io/installer.sig -O - -q | tr -d '\n ' > installer.sig \
15+ && php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
16+ && php -r "if (hash_file('SHA384', 'composer-setup.php') === file_get_contents('installer.sig')) { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
17+ && php composer-setup.php \
18+ && php -r "unlink('composer-setup.php'); unlink('installer.sig');" \
19+ && mv composer.phar /usr/local/bin/composer
Original file line number Diff line number Diff line change @@ -5,3 +5,15 @@ RUN yes | pecl install xdebug \
55 && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
66 && echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini
77
8+ RUN apt-get update -yqq \
9+ && apt-get install git -yqq \
10+ && apt-get install wget -yqq \
11+ && apt-get install zip -yqq \
12+ && apt-get install unzip -yqq
13+
14+ RUN wget https://composer.github.io/installer.sig -O - -q | tr -d '\n ' > installer.sig \
15+ && php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
16+ && php -r "if (hash_file('SHA384', 'composer-setup.php') === file_get_contents('installer.sig')) { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
17+ && php composer-setup.php \
18+ && php -r "unlink('composer-setup.php'); unlink('installer.sig');" \
19+ && mv composer.phar /usr/local/bin/composer
Original file line number Diff line number Diff line change @@ -5,3 +5,15 @@ RUN yes | pecl install xdebug \
55 && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
66 && echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini
77
8+ RUN apt-get update -yqq \
9+ && apt-get install git -yqq \
10+ && apt-get install wget -yqq \
11+ && apt-get install zip -yqq \
12+ && apt-get install unzip -yqq
13+
14+ RUN wget https://composer.github.io/installer.sig -O - -q | tr -d '\n ' > installer.sig \
15+ && php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
16+ && php -r "if (hash_file('SHA384', 'composer-setup.php') === file_get_contents('installer.sig')) { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
17+ && php composer-setup.php \
18+ && php -r "unlink('composer-setup.php'); unlink('installer.sig');" \
19+ && mv composer.phar /usr/local/bin/composer
You can’t perform that action at this time.
0 commit comments