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

Docker image for 27 gb! #121

Open
EnginEren opened this issue Sep 8, 2020 · 3 comments
Open

Docker image for 27 gb! #121

EnginEren opened this issue Sep 8, 2020 · 3 comments

Comments

@EnginEren
Copy link

I have tried to build a new docker image for our new tag namely v02-02 with our instructions in docker/readme

However, base image is huge. I remember for v02-02-pre version @rete was deleting some build directories to decrease the image size, which is around 8-9 Gb. I'm wondering what has changed so that we have now almost factor of 3 more space.

Is there a way to decrease the size ?

$ docker image ls
REPOSITORY                       TAG                 IMAGE ID            CREATED             SIZE
ilcsoft/ilcsoft-centos7-gcc8.2   v02-02              7ca39690b9dd        6 seconds ago       27.1GB
ilcsoft/base-centos7-gcc8.2      latest              50f46bf62136        39 minutes ago      25.7GB
@gaede
Copy link
Contributor

gaede commented Sep 8, 2020

You can simply remove all the build directories with sth. like cd v02-02 ; find . -type d -name build -exec rm -rf {} \; after the installation is finished ...

@rete
Copy link
Contributor

rete commented Sep 8, 2020

I think the latest script are not yet merged. They are somewhere on a branch on a local computer. The current version in the master does not delete the build directories. I'll have a look tomorrow

@EnginEren
Copy link
Author

thanks a lot for your immediate feedback. I guess I can try both options.

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

3 participants