Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

[REQ] Reduce the docker image size #30

Closed
spacether opened this issue Oct 5, 2022 · 6 comments
Closed

[REQ] Reduce the docker image size #30

spacether opened this issue Oct 5, 2022 · 6 comments

Comments

@spacether
Copy link
Contributor

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

Reduce the docker image size
All of those files are not needed

Describe the solution you'd like

Describe alternatives you've considered

Additional context

@sann3
Copy link

sann3 commented Oct 7, 2022

@spacether Can you please update the unnecessary file list?

@spacether
Copy link
Contributor Author

spacether commented Oct 7, 2022

The Dockerfile that docker hub uses (for now) is:
https://github.com/openapi-json-schema-tools/openapi-json-schema-generator/blob/master/Dockerfile
And it copies over many folders into that image
Not all are needed

There is another dockerfile
https://github.com/openapi-json-schema-tools/openapi-json-schema-generator/blob/master/modules/openapi-json-schema-generator-cli/Dockerfile
which may be able to be used instead

At a minimum because this repo is not running the online generation server, copying that over into the docker image is not needed

@batman1911
Copy link

Can you please assign this to me ?

@spacether
Copy link
Contributor Author

@batman1911 any progress here?

@spacether
Copy link
Contributor Author

Unassigning because no progress was made

@spacether
Copy link
Contributor Author

Docker image will be reduced by this PR: #189

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants