Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Optimize Docker cache usage for flux and helm-operator docker images. #1192

Merged
merged 1 commit into from
Jul 3, 2018

Conversation

oliviabarrick
Copy link
Contributor

Moves the common parts of the Dockerfiles to be in the same order so that the first seven steps are cached.

This is to be just slightly kinder to the networking on my CI system which pulls both images.

# Add git hosts to known hosts file so when git ssh's using the deploy
# key we don't get an unknown host warning.
RUN mkdir ~/.ssh && touch ~/.ssh/known_hosts && \
ssh-keyscan github.com gitlab.com bitbucket.org >> ~/.ssh/known_hosts && \

This comment was marked as abuse.

Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, smart. Thanks!

@squaremo squaremo merged commit c795d61 into fluxcd:master Jul 3, 2018
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 this pull request may close these issues.

3 participants