-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91d197e
commit a55e7bf
Showing
4 changed files
with
86 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM php:8-cli | ||
|
||
RUN apt-get upgrade -y && apt-get update \ | ||
&& apt-get install -y \ | ||
wget \ | ||
zip \ | ||
unzip | ||
|
||
|
||
RUN curl -sS https://getcomposer.org/installer | php \ | ||
&& mv composer.phar /usr/local/bin/composer \ | ||
&& cd /tmp && wget -c https://github.com/phrase/phraseapp-client/releases/download/1.13.0/phraseapp_linux_386 \ | ||
&& mv /tmp/phraseapp_linux_386 /usr/local/bin/phraseapp \ | ||
&& chmod +x /usr/local/bin/phraseapp | ||
|
||
RUN composer self-update | ||
|
||
|
||
ADD ./ /popo/ | ||
RUN rm -rf /popo/tests/logs/coverage/ | ||
RUN rm -rf /popo/tests/logs/coverage.xml | ||
RUN rm -rf /popo/tests/App/Example/ | ||
RUN rm -rf /popo/tests/AppRedefinedNamespace/Example/ | ||
RUN rm -rf /popo/tests/AppWithNamespaceRoot/Example/ | ||
|
||
WORKDIR /popo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
docker container run -it --rm -v "$(pwd):/app/" -w/app oliwierptak/popo bin/popo ${@} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters