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

Optimize dockerfile #39

Closed

Conversation

robbyoconnor
Copy link

@robbyoconnor robbyoconnor commented Nov 1, 2019

Remove packages which exist in the base image to speed up build;
and move WORKDIR to the top to avoid cache invalidation;
also COPY over ADD.

Fixes #40

Remove packages which exist in the base image to speed up build;
and move WORKDIR to the top to avoid cache invalidation;
also COPY over ADD.
@stephendolan
Copy link
Member

@jwoertink it looks as though most of this has been taken into account in the current Dockerfile, thoughts on closing this one out?

@jwoertink
Copy link
Member

Yeah, we can close this out. It's pretty outdated now, and I don't use Docker when running avram spec locally. I remember @robbyoconnor did some other optimizations though that we did take, so if you wanted to give it another shot @stephendolan feel free.

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.

Dockerfile optimizations
3 participants