Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding git to the Docker image #2191

Open
Tracked by #2441 ...
mat813 opened this issue Oct 11, 2022 · 0 comments
Open
Tracked by #2441 ...

Adding git to the Docker image #2191

mat813 opened this issue Oct 11, 2022 · 0 comments

Comments

@mat813
Copy link

mat813 commented Oct 11, 2022

Is your feature request related to a problem? Please describe.

I would like to use the docker image in my Gitlab CI pipeline, like, adding a job that uses the docker image and runs:

$ graphql-inspector diff git:origin/main:./graphql/schema.graphql graphql/schema.graphql

But for this to work, the docker image needs git.

Describe the solution you'd like

Adding this to the second stage of the docker file would be enough:

RUN apk add -U git

It would add about 20MB to the generated image.

Describe alternatives you've considered

I can add the apk add -U git to my CI job, but it means hitting and downloading all the packages each time the job runs.

Additional context

@theguild-bot theguild-bot mentioned this issue Apr 16, 2023
39 tasks
@theguild-bot theguild-bot mentioned this issue Oct 26, 2023
38 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant