Skip to content

Commit

Permalink
feat: add phive support (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp authored Apr 10, 2024
1 parent 3e13834 commit 9a4097e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Dockerfiles/dev/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ RUN set -eux; \
# Composer
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
{% endif %}
{% if true == install_phive %}
# Phive
&& curl -sSL https://phar.io/releases/phive.phar -o /usr/local/bin/phive \
&& chmod +x /usr/local/bin/phive \
{% endif %}
{% if 'cli' == php_type %}
{% if true == install_postgres_client %}
&& apk add --no-cache \
Expand Down
6 changes: 6 additions & 0 deletions src/Dockerfiles/dev/goss.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ command:
- "Composer version"
exit-status: 0
{% endif %}
{% if true == install_phive %}
"phive --version":
stdout:
- "Phive 0."
exit-status: 0
{% endif %}
{% if true == install_faketime %}
"cat /etc/ld.so.preload":
stdout:
Expand Down
1 change: 1 addition & 0 deletions src/group_vars/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ ext_pecl_enabled:
- pdo_sqlsrv

install_composer: true
install_phive: true
install_faketime: true

install_postgres_client: false
Expand Down

0 comments on commit 9a4097e

Please sign in to comment.