future-oxygen-10553
05/15/2023, 2:00 PMdocker build
command generated by a docker image
target? For some reasons I’m installing dependencies into my image with pip
. I’d like to be able to cache those layers in the GitHub Actions cache, but to do that I need to set the --cache-to
and --cache-from
options on the CLI. See: https://docs.docker.com/build/cache/backends/local/ Is that possible in the BUILD
or pants.toml
file? I didn’t see an option that looked like a generic args
thing, although I do see the appropriate mixin classes in backend/docker/target_types.py
curved-television-6568
05/15/2023, 3:11 PMdocker
shim script where you may hi-jack the build command and tweaks the args as appropriate for you.curved-television-6568
05/15/2023, 3:12 PMfuture-oxygen-10553
05/15/2023, 4:28 PMfuture-oxygen-10553
05/15/2023, 4:28 PMcurved-television-6568
05/15/2023, 5:13 PMfuture-oxygen-10553
05/15/2023, 5:18 PMcurved-television-6568
05/15/2023, 5:21 PMfuture-oxygen-10553
05/15/2023, 5:21 PMbroad-processor-92400
05/15/2023, 11:09 PMfuture-oxygen-10553
05/16/2023, 12:09 AM