Skip to content

Commit

Permalink
Merge pull request #1 from RaymondMouthaan/master
Browse files Browse the repository at this point in the history
Multi-architecture support - linux-amd64 and linux-arm
  • Loading branch information
vfarcic authored Apr 15, 2018
2 parents d326c26 + 29788e2 commit b23719f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Dockerfile.linux-arm
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM arm32v6/alpine
COPY tmp/qemu-arm-static /usr/bin/qemu-arm-static

MAINTAINER Raymond Mouthaan <[email protected]>

RUN apk --no-cache add --virtual build-dependencies wget ca-certificates

ENV DF_DOCKER_HOST="unix:///var/run/docker.sock" \
DF_NOTIFICATION_URL="" \
DF_RETRY="50" \
DF_RETRY_INTERVAL="5" \
DF_NOTIFY_LABEL="com.df.notify" \
DF_INCLUDE_NODE_IP_INFO="false"


COPY docker-flow-swarm-listener_linux_arm /usr/local/bin/docker-flow-swarm-listener
RUN chmod +x /usr/local/bin/docker-flow-swarm-listener

HEALTHCHECK --interval=5s --start-period=3s --timeout=5s CMD wget -qO- "http://localhost:8080/v1/docker-flow-swarm-listener/ping"

EXPOSE 8080

CMD ["docker-flow-swarm-listener"]
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

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.

Supported archetectures are:
- linux-amd64
- linux-arm

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.

<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 comments on commit b23719f

Please sign in to comment.