autobahn-cpp icon indicating copy to clipboard operation
autobahn-cpp copied to clipboard

Point out our Docker support

Open oberstet opened this issue 8 years ago • 3 comments

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 ..).

oberstet avatar Apr 01 '16 15:04 oberstet

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.

oberstet avatar Apr 14 '16 07:04 oberstet

  1. In your 20160416 comment, the links to Dockerfile.gcc and Dockerfile.clang are outdated.

  2. The page linked to first, https://hub.docker.com/r/crossbario/autobahn-cpp/ also has links to outdated github repos (crossbar-starter, crossbar-docker).

  3. 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 avatar Apr 13 '18 00:04 rogererens

@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 into cbsh 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

oberstet avatar Apr 13 '18 12:04 oberstet