Skip to content

Commit b23719f

Browse files
authored
Merge pull request #1 from RaymondMouthaan/master
Multi-architecture support - linux-amd64 and linux-arm
2 parents d326c26 + 29788e2 commit b23719f

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

Dockerfile.linux-arm

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
FROM arm32v6/alpine
2+
COPY tmp/qemu-arm-static /usr/bin/qemu-arm-static
3+
4+
MAINTAINER Raymond Mouthaan <[email protected]>
5+
6+
RUN apk --no-cache add --virtual build-dependencies wget ca-certificates
7+
8+
ENV DF_DOCKER_HOST="unix:///var/run/docker.sock" \
9+
DF_NOTIFICATION_URL="" \
10+
DF_RETRY="50" \
11+
DF_RETRY_INTERVAL="5" \
12+
DF_NOTIFY_LABEL="com.df.notify" \
13+
DF_INCLUDE_NODE_IP_INFO="false"
14+
15+
16+
COPY docker-flow-swarm-listener_linux_arm /usr/local/bin/docker-flow-swarm-listener
17+
RUN chmod +x /usr/local/bin/docker-flow-swarm-listener
18+
19+
HEALTHCHECK --interval=5s --start-period=3s --timeout=5s CMD wget -qO- "http://localhost:8080/v1/docker-flow-swarm-listener/ping"
20+
21+
EXPOSE 8080
22+
23+
CMD ["docker-flow-swarm-listener"]

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
The goal of the *Docker Flow Swarm Listener* project is to listen to Docker Swarm events and send requests when a change occurs. At the moment, the only supported option is to send a notification when a new service is created, or an existing service was removed from the cluster. More extensive feature support is coming soon.
99

10+
Supported archetectures are:
11+
- linux-amd64
12+
- linux-arm
13+
1014
Please visit the **[project documentation](http://swarmlistener.dockerflow.com)** for more info or join the #df-swarm-listener Slack channel in [DevOps20](http://slack.devops20toolkit.com/) if you have any questions, suggestions, or problems.
1115

1216
<a href='https://ko-fi.com/A655LRB' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://az743702.vo.msecnd.net/cdn/kofi2.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>

0 commit comments

Comments
 (0)