Create cloud agent image (#2284)

* Create cloud-agent image

* Refactor Makefile

* Push the image from CircleCI and releases

* Review feedback

* Review feedback

* Review feedback
This commit is contained in:
Alfonso Acosta
2017-02-27 17:49:26 +01:00
committed by GitHub
parent 5516f7b7d0
commit 98395bb595
7 changed files with 58 additions and 35 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM weaveworks/cloud-agent
RUN apk add --update runit && \
rm -rf /var/cache/apk/*
ADD ./demo.json /
COPY ./runsvinit ./entrypoint.sh /home/weave/
COPY ./run-app /etc/service/app/run
COPY ./run-probe /etc/service/probe/run
EXPOSE 4040
ENTRYPOINT ["/home/weave/entrypoint.sh"]