autobahn-cpp
autobahn-cpp copied to clipboard
Point out our Docker support
Would be nice to be able to:
docker run crossbario/autobahn-cpp:gcc
and have a full SDK up and running in no time. The Docker image should contain:
- GCC or Clang toolchain
- boost
- msgpack
- websocketpp
- autobahncpp
Note that this is about an SDK for AutobahnCpp, and hence the image is large. Executables built using that, and using static linking, can be fully self-contained.
Actually, that works already. Stuff is here https://github.com/crossbario/crossbar-docker/tree/master/autobahn-cpp
The clang variant has still issues. Docs in the README in this repo are missing. We should promote the Docker way as the easy way (and it is ..).
We now have Dockerfiles here:
- https://hub.docker.com/r/crossbario/autobahn-cpp/
- https://github.com/crossbario/crossbar-docker/blob/master/autobahn-cpp/Dockerfile.gcc
- https://github.com/crossbario/crossbar-docker/blob/master/autobahn-cpp/Dockerfile.clang
We should prominently announce that in the README. In particular for beginners struggling with toolchain/library issues, this seems easier.
-
In your 20160416 comment, the links to Dockerfile.gcc and Dockerfile.clang are outdated.
-
The page linked to first, https://hub.docker.com/r/crossbario/autobahn-cpp/ also has links to outdated github repos (crossbar-starter, crossbar-docker).
-
That page also states that 'built executables do NOT need Docker and can be linked'. IMHO it would be more clear to change this into 'created clients do NOT need Docker and can be linked to' as it connects the sentence with the previous one.
@rogererens thx for collecting all the broken links!
In fact, I am in the process of finally cleaning things up:
- the toolchain image building has moved here https://github.com/crossbario/autobahn-cpp/tree/master/docker (gcc works, clang is broken)
- the app scaffolding has moved out from
crossbar
intocbsh
https://github.com/crossbario/crossbar-shell#crossbario-shell - this is based on cookiecutter, and the abcpp one is here (and works): https://github.com/crossbario/cookiecutter-autobahn-cpp