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

Dockerfile: Update golang, Add KUBE_VERSION arg, smaller image #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Dockerfile: Update golang, Add KUBE_VERSION arg, smaller image #38

wants to merge 2 commits into from

Conversation

tshak
Copy link

@tshak tshak commented Jul 1, 2019

Changes:

  • Updated golang to the latest stable (1.12.6)
  • Added KUBE_VERSION build arg with a default of v1.13.7. This seemed like a reasonable default since v1.12.* is still popular with managed k8s offerings as well as KOPS and v1.13.7 is the newest stable version that's compatible with this.
  • Reordered a few build layers for slightly better caching
  • Removed apt cache for smaller image size

These changes result in an image that is about 75MB smaller (uncompressed).

@CLAassistant
Copy link

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

2 participants