SwagGen icon indicating copy to clipboard operation
SwagGen copied to clipboard

Docker support

Open Kastet opened this issue 5 years ago • 4 comments

Solves https://github.com/yonaskolb/SwagGen/issues/160

Changes:

  • adds Dockerfile
  • updates README with instructions to use a pre-built image

Kastet avatar May 14 '19 07:05 Kastet

  • Can the Dockerfile be split into multiple stages so that the published image does not necessarily contain the sources and build directory?
  • Ideally, the docker image should be published to a Docker Hub repository owned by @yonaskolb. Otherwise, users may not trust it

I have an example of a multi-stage Dockerfile here: https://github.com/mithun/swaggen-docker/blob/master/Dockerfile

mithun avatar May 15 '19 11:05 mithun

Thanks for this example @mithun, good suggestion!

Kastet avatar May 21 '19 07:05 Kastet

@mithun Can your https://github.com/mithun/swaggen-docker take all the same parameter as the official binary ?

mackoj avatar Oct 08 '19 21:10 mackoj

@mithun Can your https://github.com/mithun/swaggen-docker take all the same parameter as the official binary ?

Yes

mithun avatar Oct 08 '19 23:10 mithun