-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Demin Yin <deminy@deminy.net>
- Loading branch information
Showing
4 changed files
with
9 additions
and
14 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
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 |
---|---|---|
@@ -1,14 +1,13 @@ | ||
# This Dockerfile is to build Docker image "deminy/swoole-by-examples:client". | ||
# @see https://hub.docker.com/r/deminy/swoole-by-examples | ||
FROM phpswoole/swoole:5.0 | ||
FROM phpswoole/swoole:5.1 | ||
|
||
RUN \ | ||
set -ex && \ | ||
docker-php-ext-install mysqli && \ | ||
apt-get update && \ | ||
apt-get install -y apache2-utils netcat xxd --no-install-recommends && \ | ||
curl -sfL -o websocat.deb https://github.com/vi/websocat/releases/download/v1.5.0/websocat_1.5.0_ssl1.1_amd64.deb && \ | ||
dpkg -i websocat.deb && \ | ||
rm -rf websocat.deb /var/lib/apt/lists/* && \ | ||
composer require -d ${HOME} -n predis/predis:~1.1.0 && \ | ||
apt-get install -y apache2-utils netcat-traditional xxd --no-install-recommends && \ | ||
curl -sfL -o /usr/bin/websocat "https://github.com/vi/websocat/releases/download/v1.12.0/websocat.$(uname -m)-unknown-linux-musl" && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
composer require -d ${HOME} -n predis/predis:~2.2.0 && \ | ||
composer clearcache |
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