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

Enhancement: Reduce Windows image size #243

Open
jrbe228 opened this issue Jun 13, 2024 · 0 comments
Open

Enhancement: Reduce Windows image size #243

jrbe228 opened this issue Jun 13, 2024 · 0 comments

Comments

@jrbe228
Copy link

jrbe228 commented Jun 13, 2024

The current Dockerfile includes a COPY step on line 5.

By copying installer binaries using this method, the binary adds several unnecessary GB to the final image. Consider other approaches using RUN instead of COPY. Within a single RUN step,

  1. Download the installer binary from a company web server. Perform installation. Delete the binary.
  2. Same as above, except generating / removing a local network share.
  3. BuildKit for Windows is now in early release. I haven't used it and can't comment on stability or ease of use. But eventually this should become the preferred approach.
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