[projects/cleanbuild] docker: pull before build to ensure updated base image

glen glen at pld-linux.org
Wed Dec 14 21:36:41 CET 2016


commit 67323d5a9949bef9c13b3ac5d04ff01df8766526
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Dec 14 22:36:33 2016 +0200

    docker: pull before build to ensure updated base image

 build-docker.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/build-docker.sh b/build-docker.sh
index 85f2d9b..0e79428 100755
--- a/build-docker.sh
+++ b/build-docker.sh
@@ -2,4 +2,4 @@
 # note: docker file is kept in subdir, as docker build uploads context to docker first when building
 # and when it contains poldek cache and rpm root, it's big, unneccessary and may lack of permissions
 # however .dockerignore could solve all that
-docker build -t pld/cleanbuild docker
+docker build --pull -t pld/cleanbuild docker
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/67323d5a9949bef9c13b3ac5d04ff01df8766526



More information about the pld-cvs-commit mailing list