-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from dasgarner/develop
Update for alpine 3.11
- Loading branch information
Showing
9 changed files
with
112 additions
and
51 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,2 @@ | ||
config.json | ||
vendor/ |
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 |
---|---|---|
|
@@ -2,16 +2,23 @@ FROM composer:1.6 as composer | |
COPY . /app | ||
RUN composer install --no-interaction --no-dev --ignore-platform-reqs --optimize-autoloader | ||
|
||
FROM alpine:3.6 | ||
MAINTAINER Spring Signage Ltd <[email protected]> | ||
FROM alpine:3.11 | ||
MAINTAINER Xibo Signage Ltd <[email protected]> | ||
|
||
ENV XMR_DEBUG false | ||
ENV XMR_QUEUE_POLL 5 | ||
ENV XMR_QUEUE_SIZE 10 | ||
ENV XMR_IPV6RESPSUPPORT false | ||
ENV XMR_IPV6PUBSUPPORT false | ||
|
||
RUN apk update && apk upgrade && apk add tar php7 curl php7-zmq php7-phar php7-json php7-openssl && rm -rf /var/cache/apk/* | ||
RUN apk update && apk upgrade && apk add tar \ | ||
php7 \ | ||
curl \ | ||
php7-zmq \ | ||
php7-phar \ | ||
php7-json \ | ||
php7-openssl \ | ||
&& rm -rf /var/cache/apk/* | ||
|
||
EXPOSE 9505 50001 | ||
|
||
|
Binary file not shown.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,4 +4,6 @@ services: | |
xmr: | ||
build: . | ||
environment: | ||
XMR_DEBUG: "true" | ||
XMR_DEBUG: "true" | ||
volumes: | ||
- ./:/opt/xmr |
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,19 @@ | ||
<?php | ||
/* | ||
* Hello World client | ||
* Connects REQ socket to tcp://localhost:5555 | ||
* Sends "Hello" to server, expects "World" back | ||
* @author Ian Barber <ian(dot)barber(at)gmail(dot)com> | ||
*/ | ||
|
||
$context = new ZMQContext(); | ||
|
||
// Socket to talk to server | ||
echo "Connecting to hello world server…\n"; | ||
$requester = new ZMQSocket($context, ZMQ::SOCKET_REQ); | ||
$requester->connect("tcp://192.168.86.88:58587"); | ||
echo "connected\n"; | ||
$requester->send("Hello"); | ||
echo "sent\n"; | ||
$reply = $requester->recv(); | ||
echo "Received reply " . $reply; |
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