diff --git a/Dockerfile.linux-arm b/Dockerfile.linux-arm new file mode 100644 index 0000000..c122164 --- /dev/null +++ b/Dockerfile.linux-arm @@ -0,0 +1,23 @@ +FROM arm32v6/alpine +COPY tmp/qemu-arm-static /usr/bin/qemu-arm-static + +MAINTAINER Raymond Mouthaan + +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"] diff --git a/README.md b/README.md index 971cf00..71a2b0d 100644 --- a/README.md +++ b/README.md @@ -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. Buy Me a Coffee at ko-fi.com