Skip to content

Instantly share code, notes, and snippets.

@smothiki
Created April 29, 2015 23:50
Show Gist options
  • Save smothiki/519760a8cc5b9fb5f8de to your computer and use it in GitHub Desktop.
Save smothiki/519760a8cc5b9fb5f8de to your computer and use it in GitHub Desktop.
FROM ubuntu-debootstrap:14.04
ADD swarm /bin/
ADD deis-swarm /bin/
RUN chmod +x /bin/swarm
RUN chmod +x /bin/deis-swarm
ENV SWARM_HOST :2375
EXPOSE 2375
VOLUME $HOME/.deis-swarm
ENTRYPOINT ["swarm"]
CMD ["--help"]
docker run -v /opt/bin:/go/bin -i -t jaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment