docker build | Docker Documentation
docs.docker.com › engine › referenceSet the networking mode for the RUN instructions during build--no-cache: Do not use cache when building the image--output, -o: API 1.40+ Output destination (format: type=local,dest=path)--platform: API 1.38+ Set platform if server is multi-platform capable--progress: auto: Set type of progress output (auto, plain, tty). Use plain to show container output--pull
Docker Builds and -no-cache | markbetz.net
www.markbetz.net › 14 › docker-builds-and-no-cacheMar 14, 2014 · sudo docker build -no-cache -rm=true - < DockerFile. Note that this applies to the whole build, so if you do have some other commands that are in fact deterministic they are not going to use the cache either. It would be nice to have an argument to the RUN command to do this on per-step basis, but at least -no-cache will make sure all your RUN steps get evaluated every time you build.