Skip to content

Leverage Docker image caching #2009

Closed as not planned
Closed as not planned

Description

@AndreMiras

The idea would be to speed up docker build (currently 10 minutes) by using the --cache-from flag.
Thing is we also need to docker push our successful builds ourselves as the DockerHub autobuild seems to mess up with COPY command leading to 100% cache bust when using this image.

Activity

  1. self-assigned this
    on Oct 20, 2019
  2. Julian-O commented on Nov 19, 2023

    @Julian-O
    Contributor

    @AndreMiras: Is this still an issue?

  3. AndreMiras commented on Nov 19, 2023

    @AndreMiras
    MemberAuthor

    We haven't solved it in p4a, but I think it's better documented in stackoverflow now.
    https://stackoverflow.com/questions/54574821/docker-build-not-using-cache-when-copying-gemfile-while-using-cache-from
    Also it's probably not critical and could be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions