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

Dockerfile: add ALPINE_CACHE image to lock apk versions #4238

Closed
wants to merge 1 commit into from

Commits on Sep 15, 2023

  1. Dockerfile: add ALPINE_CACHE image to lock apk versions

    The `ALPINE_CACHE` image contains `/etc/apk/cache` for apk files
    referred from the entire Dockerfile.
    
    All the `apk add` commands in the Dockerfile are now executed with
    the mount for `ALPINE_CACHE` and with `--no-network`.
    
    The `ALPINE_CACHE` image defaults to the `alpine-cache-local` stage,
    but can be also set to `docker.io/moby/buildkit:${RELEASE}-alpine-cache`
    for reproducibility.
    
    Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
    AkihiroSuda committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    0cbda2e View commit details
    Browse the repository at this point in the history