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 <pablo@resin.io>
This commit is contained in:
Pablo Carranza Velez 2017-07-25 10:52:40 -03:00
parent 654e6ce929
commit 7746d6be99

View File

@ -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 \