Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
chinayin committed Aug 30, 2024
1 parent 41a3b39 commit ad193c7
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 19 deletions.
11 changes: 7 additions & 4 deletions 7.4/slim/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@ RUN set -eux \
&& ( \
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
) \
## git \
## git
&& ( \
install_packages git \
&& git --version \
) \
## Clean up
&& ( \
Expand All @@ -76,5 +75,9 @@ RUN set -eux \
&& rm -rf /tmp/* /var/tmp/* \
&& rm -f /var/log/lastlog /var/log/faillog \
) \
## Check PHP version
&& php -v
## Check version
&& ( \
php -v \
&& composer -V \
&& git --version \
)
9 changes: 6 additions & 3 deletions 7.4/slim/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ RUN set -eux \
## git \
&& ( \
install_packages git \
&& git --version \
) \
## Clean up
&& ( \
Expand All @@ -76,5 +75,9 @@ RUN set -eux \
&& rm -rf /tmp/* /var/tmp/* \
&& rm -f /var/log/lastlog /var/log/faillog \
) \
## Check PHP version
&& php -v
## Check version
&& ( \
php -v \
&& composer -V \
&& git --version \
)
9 changes: 6 additions & 3 deletions 8.2/slim/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ RUN set -eux \
## git \
&& ( \
install_packages git \
&& git --version \
) \
## Clean up
&& ( \
Expand All @@ -76,5 +75,9 @@ RUN set -eux \
&& rm -rf /tmp/* /var/tmp/* \
&& rm -f /var/log/lastlog /var/log/faillog \
) \
## Check PHP version
&& php -v
## Check version
&& ( \
php -v \
&& composer -V \
&& git --version \
)
9 changes: 6 additions & 3 deletions 8.2/slim/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ RUN set -eux \
## git \
&& ( \
install_packages git \
&& git --version \
) \
## Clean up
&& ( \
Expand All @@ -76,5 +75,9 @@ RUN set -eux \
&& rm -rf /tmp/* /var/tmp/* \
&& rm -f /var/log/lastlog /var/log/faillog \
) \
## Check PHP version
&& php -v
## Check version
&& ( \
php -v \
&& composer -V \
&& git --version \
)
9 changes: 6 additions & 3 deletions 8.3/slim/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ RUN set -eux \
## git \
&& ( \
install_packages git \
&& git --version \
) \
## Clean up
&& ( \
Expand All @@ -76,5 +75,9 @@ RUN set -eux \
&& rm -rf /tmp/* /var/tmp/* \
&& rm -f /var/log/lastlog /var/log/faillog \
) \
## Check PHP version
&& php -v
## Check version
&& ( \
php -v \
&& composer -V \
&& git --version \
)
9 changes: 6 additions & 3 deletions 8.3/slim/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ RUN set -eux \
## git \
&& ( \
install_packages git \
&& git --version \
) \
## Clean up
&& ( \
Expand All @@ -76,5 +75,9 @@ RUN set -eux \
&& rm -rf /tmp/* /var/tmp/* \
&& rm -f /var/log/lastlog /var/log/faillog \
) \
## Check PHP version
&& php -v
## Check version
&& ( \
php -v \
&& composer -V \
&& git --version \
)

0 comments on commit ad193c7

Please sign in to comment.