Dockerfile: Explicitly depend on "dockcross/base:latest"

As recommended in by CircleCI, explicitly specify the "latest"
tag. This will be important when we will start versioning our images.

Copied from CircleCI documentation [1]:

"Make sure you tag the image you use in the FROM command in your
Dockerfile, even if it is the default “latest” tag. Otherwise, Docker
will pull down all tags for the image you specify. This will create
significant performance problems because the save/load strategy described
above only caches the image layers (and thus tags) that you specify in
the docker save command, so other tags will be re-pulled on every build
if a tag is not specified in the FROM command."

[1] https://circleci.com/docs/docker/#caching-docker-layers
This commit is contained in:
Jean-Christophe Fillion-Robin
2016-11-26 18:25:08 -05:00
parent 1560f4c3b6
commit 286e6b5c95
10 changed files with 10 additions and 10 deletions
android-arm
linux-arm64
linux-armv5
linux-armv6
linux-armv7
linux-ppc64le
linux-x64
linux-x86
windows-x64
windows-x86

@ -1,4 +1,4 @@
FROM dockcross/base FROM dockcross/base:latest
MAINTAINER Matt McCormick "matt.mccormick@kitware.com" MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# The cross-compiling emulator # The cross-compiling emulator

@ -1,4 +1,4 @@
FROM dockcross/base FROM dockcross/base:latest
MAINTAINER Matt McCormick "matt.mccormick@kitware.com" MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# Add the cross compiler sources # Add the cross compiler sources

@ -1,4 +1,4 @@
FROM dockcross/base FROM dockcross/base:latest
MAINTAINER Matt McCormick "matt.mccormick@kitware.com" MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# This is for ARMv5 "legacy" (armel) devices which do NOT support hard float # This is for ARMv5 "legacy" (armel) devices which do NOT support hard float

@ -1,4 +1,4 @@
FROM dockcross/base FROM dockcross/base:latest
MAINTAINER Matt McCormick "matt.mccormick@kitware.com" MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# Enable 32 bits binaries # Enable 32 bits binaries

@ -1,4 +1,4 @@
FROM dockcross/base FROM dockcross/base:latest
MAINTAINER Matt McCormick "matt.mccormick@kitware.com" MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# Add the cross compiler sources # Add the cross compiler sources

@ -1,4 +1,4 @@
FROM dockcross/base FROM dockcross/base:latest
MAINTAINER Matt McCormick "matt.mccormick@kitware.com" MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# Add the cross compiler sources # Add the cross compiler sources

@ -1,4 +1,4 @@
FROM dockcross/base FROM dockcross/base:latest
MAINTAINER Matt McCormick "matt.mccormick@kitware.com" MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
ENV CROSS_TRIPLE x86_64-linux-gnu ENV CROSS_TRIPLE x86_64-linux-gnu

@ -1,4 +1,4 @@
FROM dockcross/base FROM dockcross/base:latest
MAINTAINER Matt McCormick "matt.mccormick@kitware.com" MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
RUN dpkg --add-architecture i386 && \ RUN dpkg --add-architecture i386 && \

@ -1,4 +1,4 @@
FROM dockcross/base FROM dockcross/base:latest
MAINTAINER Matt McCormick "matt.mccormick@kitware.com" MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# WINE is used as an emulator for try_run and tests with CMake. # WINE is used as an emulator for try_run and tests with CMake.

@ -1,4 +1,4 @@
FROM dockcross/base FROM dockcross/base:latest
MAINTAINER Matt McCormick "matt.mccormick@kitware.com" MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# WINE is used as an emulator for try_run and tests with CMake. # WINE is used as an emulator for try_run and tests with CMake.