From 7746d6be994777b11b3948c3fe6f0d6ef76411c9 Mon Sep 17 00:00:00 2001 From: Pablo Carranza Velez Date: Tue, 25 Jul 2017 10:52:40 -0300 Subject: [PATCH] Use a pinned build of the debian image to build base and gosuper, to avoid unnecessary rebuilds Up to now, a new debian:jessie build would invalidate the cache for the base and gosuper images, slowing down Circle builds. Change-Type: patch Signed-off-by: Pablo Carranza Velez --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 67c144d6..03191d4b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG ARCH=amd64 -FROM debian:jessie as base +FROM debian:jessie-20170723 as base ARG ARCH # Install the following utilities (required by openembedded) # http://www.openembedded.org/wiki/Getting_started#Ubuntu_.2F_Debian @@ -41,7 +41,7 @@ RUN cd /source && bash -ex build.sh ############################################################################## # Build golang supervisor -FROM debian:jessie as gosuper +FROM debian:jessie-20170723 as gosuper ARG ARCH RUN apt-get update \