I have a few RUN commands in my Dockerfile that I would like to run with -no-cache each time I build a Docker image.
RUN
-no-cache
I understand the
Another quick hack is to write some random bytes before your command
RUN head -c 5 /dev/random > random_bytes &&
writes out 5 random bytes which will force a cache miss