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

Reduce Dockerfile Size #8

Open
4 of 6 tasks
Lnaden opened this issue Apr 3, 2018 · 2 comments
Open
4 of 6 tasks

Reduce Dockerfile Size #8

Lnaden opened this issue Apr 3, 2018 · 2 comments

Comments

@Lnaden
Copy link
Contributor

Lnaden commented Apr 3, 2018

Running list of ideas to get the Dockerfile size down.

  • Cut down the TeX install
    • Fix issue where all of TeXLive was being installed
    • Determine true minimum set of TeX packages needed
  • Reduce CUDA Driver install size
    • De-duplicate the download layer. The 2 commands here download and move/copy the installer file which creates 2 redundant >1GB layers
    • Move the download/and move layers into a single command which ends with removing the downloaded, un-extracted RPM entirely, removing the >1GB layers entirely?

Also welcome to other ideas!

@Lnaden
Copy link
Contributor Author

Lnaden commented Apr 3, 2018

For the later of the CUDA driver, we may need to use a multi-stage build, but that seems to be a pretty new feature. We could alternately add the file from a curl -L command (would need -L instead of -O since its a binary file)

@Lnaden
Copy link
Contributor Author

Lnaden commented Apr 3, 2018

Also consider applying the solution for the CUDA installer to the TeXLive and AMD SDK downloads, since they are also added as part of a Docker ADD directive, then removed when done

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