Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

docker image size of kube-batch is too big #641

Closed
asifdxtreme opened this issue Mar 13, 2019 · 3 comments · Fixed by #671
Closed

docker image size of kube-batch is too big #641

asifdxtreme opened this issue Mar 13, 2019 · 3 comments · Fixed by #671
Assignees

Comments

@asifdxtreme
Copy link
Contributor

Use Alpine image instead of ubuntu:18.04 for building kube-batch docker image, this will reduce the size of docker image considerably

Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT

Uncomment only one, leave it on its own line:

/kind bug
/kind feature

What happened:
docker image size is too big
What you expected to happen:
docker image should be small <10MB
How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@hex108
Copy link
Contributor

hex108 commented Mar 26, 2019

Maybe we could use scratch or other minimal image as base image?

cc @k82cn

@k82cn
Copy link
Contributor

k82cn commented Mar 26, 2019

a minimal image, e.g. alpine, should be enough for this case.

@hex108
Copy link
Contributor

hex108 commented Mar 26, 2019

/assign

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

Successfully merging a pull request may close this issue.

3 participants