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 docker image size #1140

Merged
merged 1 commit into from Sep 25, 2019
Merged

Commits on Sep 25, 2019

  1. Reduce docker image size

    - build go binaries with "-w -s" ldflags to strip DWARF info.
    - used `--no-cache` with apk on the base image to prevent apk cruft.
    - spire-server image went from 80.8MB to 61MB
    - spire-agent image went from 45.4MB to 35.2MB
    - k8s-workload-registrar image went from 27.5MB to 22MB
    
    Signed-off-by: Andrew Harding <azdagron@gmail.com>
    azdagron committed Sep 25, 2019
    Configuration menu
    Copy the full SHA
    f09b7c8 View commit details
    Browse the repository at this point in the history