mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-03-03 00:34:34 +01:00
Add AtomicParsley to image
This commit is contained in:
parent
48b44a9e4f
commit
92dc7e02d8
1 changed files with 9 additions and 0 deletions
|
@ -60,6 +60,15 @@ RUN rm /usr/bin/composer /usr/bin/install-php-extensions
|
|||
|
||||
COPY docker/nginx/site.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
## Install AtomicParsley
|
||||
RUN curl -s https://api.github.com/repos/wez/atomicparsley/releases/latest \
|
||||
| grep "browser_download_url.*Linux" \
|
||||
| cut -d '"' -f 4 \
|
||||
| xargs curl -sLo AtomicParsleyLinux.zip \
|
||||
&& unzip AtomicParsleyLinux.zip \
|
||||
&& rm AtomicParsleyLinux.zip \
|
||||
&& mv AtomicParsley /usr/local/bin/AtomicParsley
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["docker/entrypoint.sh"]
|
||||
|
|
Loading…
Add table
Reference in a new issue