Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ See: `faas-cli template store list` to see which templates are both: recommended
| java11-vert-x | Java and [Vert.x](https://vertx.io/) | 11 | Debian GNU/Linux | of-watchdog | [Java LTS template](https://github.com/openfaas/templates/tree/master/template/java11-vert-x)
| java11 | Java | 11 | Debian GNU/Linux | of-watchdog | [Deprecated Java template](https://github.com/openfaas/templates/tree/master/template/java11)
| java17 | Java | 11 | Debian GNU/Linux | of-watchdog | [Java LTS template](https://github.com/openfaas/templates/tree/master/template/java17)
| php7 | PHP | 7.4 | Alpine Linux | classic | [PHP 7 template](https://github.com/openfaas/templates/tree/master/template/php7)
| php8 | PHP | 8.2 | Alpine Linux | classic | [PHP 8 template](https://github.com/openfaas/templates/tree/master/template/php8)

For more information on the templates check out the [docs](https://docs.openfaas.com/cli/templates/).
Expand Down
56 changes: 0 additions & 56 deletions template/php7/Dockerfile

This file was deleted.

17 changes: 0 additions & 17 deletions template/php7/function/composer.json

This file was deleted.

11 changes: 0 additions & 11 deletions template/php7/function/php-extension.sh

This file was deleted.

19 changes: 0 additions & 19 deletions template/php7/function/src/Handler.php

This file was deleted.

10 changes: 0 additions & 10 deletions template/php7/index.php

This file was deleted.

18 changes: 0 additions & 18 deletions template/php7/php-extension.sh-example

This file was deleted.

41 changes: 0 additions & 41 deletions template/php7/readme.md

This file was deleted.

7 changes: 0 additions & 7 deletions template/php7/template.yml

This file was deleted.

6 changes: 6 additions & 0 deletions template/php8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ ENV COMPOSER_AUTH=${COMPOSER_AUTH}
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog

# The Classic Watchdog passes HTTP bodies to PHP CLI over stdin, so PHP's
# RFC1867 upload progress feature is unused. Keep it disabled as defence in
# depth for functions which customise the PHP execution mode.
RUN printf '%s\n' 'session.upload_progress.enabled=Off' > \
/usr/local/etc/php/conf.d/openfaas-security.ini

RUN apk add --no-cache git

# create non-root user
Expand Down
Loading