Last active
August 13, 2016 19:29
-
-
Save mrserverless/b297089e8eb71f9d107e to your computer and use it in GitHub Desktop.
Quay.IO Cache Buster when triggering a github Dockerfile build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM busybox | |
# any thing after here will not be cached | |
# since Quay.IO check out will results in a different timestamp to the cache | |
ADD .git/HEAD /app/CACHE_BUSTER | |
RUN rm CACHE_BUSTER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment