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
No known key found for this signature in database
GPG Key ID: 15C1A2812F958BD3
10 changed files with 10 additions and 10 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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