Skip to content

Commit 7a1b8fd

Browse files
committed
Add comments in Dockerfile
1 parent 4060762 commit 7a1b8fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN docker-php-ext-install zip pdo_mysql
2121
# RUN pecl install -o -f xdebug-3.1.3 \
2222
# && rm -rf /tmp/pear
2323

24-
# Copy composer
24+
# Copy composer installable
2525
COPY ./install-composer.sh ./
2626

2727
# Copy php.ini
@@ -41,5 +41,6 @@ WORKDIR /var/www
4141
# Change the owner of the container document root
4242
RUN chown -R www-data:www-data /var/www
4343

44+
# Start Apache in foreground
4445
CMD ["apache2-foreground"]
4546

docker/install-composer.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/sh
22

3-
43
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
54
SIGNATURE=$(php -r "echo hash_file('SHA384', 'composer-setup.php');")
65
EXPECTED_SIGNATURE=$(wget -q -O - https://composer.github.io/installer.sig)

0 commit comments

Comments
 (0)