Skip to content

Commit 9a4097e

Browse files
authored
feat: add phive support (#36)
1 parent 3e13834 commit 9a4097e

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

src/Dockerfiles/dev/Dockerfile.j2

+5
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ RUN set -eux; \
4141
# Composer
4242
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
4343
{% endif %}
44+
{% if true == install_phive %}
45+
# Phive
46+
&& curl -sSL https://phar.io/releases/phive.phar -o /usr/local/bin/phive \
47+
&& chmod +x /usr/local/bin/phive \
48+
{% endif %}
4449
{% if 'cli' == php_type %}
4550
{% if true == install_postgres_client %}
4651
&& apk add --no-cache \

src/Dockerfiles/dev/goss.yaml.j2

+6
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ command:
8787
- "Composer version"
8888
exit-status: 0
8989
{% endif %}
90+
{% if true == install_phive %}
91+
"phive --version":
92+
stdout:
93+
- "Phive 0."
94+
exit-status: 0
95+
{% endif %}
9096
{% if true == install_faketime %}
9197
"cat /etc/ld.so.preload":
9298
stdout:

src/group_vars/dev.yml

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ ext_pecl_enabled:
4848
- pdo_sqlsrv
4949

5050
install_composer: true
51+
install_phive: true
5152
install_faketime: true
5253

5354
install_postgres_client: false

0 commit comments

Comments
 (0)