Latest Dockerfile not up to date with latest version of graphql-inspector
ides15 opened this issue · comments
Describe the bug
I'm trying to run graphql-inspector in my pipeline to find breaking changes between the schema file in my repository's master
branch and the new schema file. I'm getting this error when running graphql-inspector as a Docker container:
/bin/sh: 1: git: not found
I looked into the Dockerfile that is shown in Dockerhub and it looks like it isn't up to date with Dockerfile-cli in the repository - the key difference being that the Dockerfile-cli in the repository has the line to add the git
binary.
To Reproduce
Steps to reproduce the behavior:
docker run -v $PWD:/app kamilkisiela/graphql-inspector graphql-inspector diff git:origin/master:./old.graphql new.graphql
Expected behavior
Any changes would be shown in the console (similar to when you run the command from the CLI).
Environment:
- OS: MacOS 10.15.7
@graphql-inspector/...
: latestgraphql
: ^15.5.0- NodeJS: 12.16.2
Additional context