apiaryio / drafter

API Blueprint Parser (C++)
https://apiblueprint.org/
MIT License
301 stars 54 forks source link

Update docker image to build with CMake #739

Closed kylef closed 5 years ago

kylef commented 5 years ago

I realised the docker image isn't tested nor updated from GYP to CMake, this pull request solves both. We are now building and running the image in CI and building using CMake.

I've refactored the drafter image a bit to use Alpine to shrink the size down, making use of separate environments for build and running so we can remove build dependency slices from the image. This makes the image around 1.8GB smaller.

$ docker images | grep drafter
drafter           96MB
apiaryio/drafter  1.86GB