mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-02 03:56:41 +00:00
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:
parent
654e6ce929
commit
7746d6be99
@ -1,5 +1,5 @@
|
|||||||
ARG ARCH=amd64
|
ARG ARCH=amd64
|
||||||
FROM debian:jessie as base
|
FROM debian:jessie-20170723 as base
|
||||||
ARG ARCH
|
ARG ARCH
|
||||||
# Install the following utilities (required by openembedded)
|
# Install the following utilities (required by openembedded)
|
||||||
# http://www.openembedded.org/wiki/Getting_started#Ubuntu_.2F_Debian
|
# http://www.openembedded.org/wiki/Getting_started#Ubuntu_.2F_Debian
|
||||||
@ -41,7 +41,7 @@ RUN cd /source && bash -ex build.sh
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Build golang supervisor
|
# Build golang supervisor
|
||||||
FROM debian:jessie as gosuper
|
FROM debian:jessie-20170723 as gosuper
|
||||||
ARG ARCH
|
ARG ARCH
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
|
Loading…
Reference in New Issue
Block a user