Skip to content

Commit 724cfeb

Browse files
author
Bastian Schwarz
committed
Use phive from docker image
Fixes #15
1 parent 390dab7 commit 724cfeb

2 files changed

Lines changed: 2 additions & 18 deletions

File tree

.installer/templates/docker/application/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
FROM webdevops/php-dev:{{phpVersion}}
22

33
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer
4-
5-
RUN wget -O phive.phar "https://phar.io/releases/phive.phar" && \
6-
wget -O phive.phar.asc "https://phar.io/releases/phive.phar.asc" && \
7-
gpg --keyserver hkps://keys.openpgp.org --recv-keys 0x6AF725270AB81E04D79442549D8A98B29B2D5D79 && \
8-
gpg --verify phive.phar.asc phive.phar && \
9-
rm phive.phar.asc && \
10-
chmod +x phive.phar && \
11-
mv phive.phar /usr/local/bin/phive && \
12-
mkdir "/home/$APPLICATION_USER/.phive"
4+
COPY --from=phario/phive:0.15.2 /usr/local/bin/phive /usr/local/bin/phive
135

146
# configure services
157
RUN set -x \

docker/application/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
FROM webdevops/php-dev:8.1
22

33
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer
4-
5-
RUN wget -O phive.phar "https://phar.io/releases/phive.phar" && \
6-
wget -O phive.phar.asc "https://phar.io/releases/phive.phar.asc" && \
7-
gpg --keyserver hkps://keys.openpgp.org --recv-keys 0x6AF725270AB81E04D79442549D8A98B29B2D5D79 && \
8-
gpg --verify phive.phar.asc phive.phar && \
9-
rm phive.phar.asc && \
10-
chmod +x phive.phar && \
11-
mv phive.phar /usr/local/bin/phive && \
12-
mkdir "/home/$APPLICATION_USER/.phive"
4+
COPY --from=phario/phive:0.15.2 /usr/local/bin/phive /usr/local/bin/phive
135

146
# configure services
157
RUN set -x \

0 commit comments

Comments
 (0)