-
Notifications
You must be signed in to change notification settings - Fork 159
git-init and creds-init images are too big #179
Comments
As a test, I created a minimal FROM launcher.gcr.io/google/ubuntu16_04
RUN apt-get -y update && \
apt-get -y install keychain git I pushed this to The question is, how we keep this base image up-to-date, ideally building it as part of the release, or even building it at the beginning of |
All the tests ran successfully with a base image based on alpine. The
To help with running the builds faster on a smaller image, I have the following proposal Proposal
|
That seems totally reasonable to me. I don't have a strong preference about |
git-init
andcreds-init
images are both based ongcr.io/cloud-builders/gcloud:latest
, which includes every optional gcloud component, and clocks in at ~2 GB. This makes builds slow, andko apply -L -f config/
slow because the image is always rebuilt and pushed into the daemon (google/go-containerregistry#205)git-init
probably only needsgit
, andcreds-init
probably only needsssh-keygen
, so base images that include those packages (or a single base image that includes both) would help a lot.The text was updated successfully, but these errors were encountered: