Skip to content

Commit

Permalink
Installing phive from docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastian Schwarz committed Jan 6, 2024
1 parent acb1cce commit ac34575
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docker/application/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@ FROM webdevops/php-dev:8.3

COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer

RUN wget -O phive.phar "https://phar.io/releases/phive.phar" && \
wget -O phive.phar.asc "https://phar.io/releases/phive.phar.asc" && \
gpg --keyserver hkps://keys.openpgp.org --recv-keys 0x6AF725270AB81E04D79442549D8A98B29B2D5D79 && \
gpg --verify phive.phar.asc phive.phar && \
rm phive.phar.asc && \
chmod +x phive.phar && \
mv phive.phar /usr/local/bin/phive && \
mkdir "/home/$APPLICATION_USER/.phive"
COPY --from=phario/phive:0.15.2 /usr/local/bin/phive /usr/local/bin/phive
RUN mkdir "/home/$APPLICATION_USER/.phive"

# configure services
RUN set -x \
Expand Down

0 comments on commit ac34575

Please sign in to comment.