Commit Graph

18 Commits

Author SHA1 Message Date
Guillaume Jacquenot
9928d75771
[windows_x64_posix] Declared MXE_TARGET_THREAD empty parameter in windows-x64/Dockerfile.in 2018-06-12 00:45:44 -04:00
Jean-Christophe Fillion-Robin
aa202df283
windows-(x86|x64): Optimize images introducing "common.windows"
* Avoid duplication introducing common  script
* Optimize image size reducing the number of RUN instructions
2018-06-09 01:20:20 -04:00
Anton Chernov
eb65a8970a Added fortran compiler
* Added FC to all Dockerfiles
* Changed cmake toolchains to use environment variables for compilers
2018-05-25 18:34:23 +02:00
Matt McCormick
07e5aecff3 windows-{x64,x86}: Bump MXE to 2017-10-25 master
MXE now ships its own version of CMake that sources the toolchain file,
etc. As suggested by their warning when sourcing the toolchain file, use
it.

This also results in updating GCC from 4.9 to 5.4.
2017-10-25 12:14:50 -04:00
Jean-Christophe Fillion-Robin
286e6b5c95
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
2016-11-26 18:25:08 -05:00
Jean-Christophe Fillion-Robin
cfcc7d6700
dockerfile: Keep track of buildtime metadata
This commit build each images with the following arguments:

* IMAGE: Name of the image (e.g dockcross/base, dockcross/manylinux-x64, ...)
* VCS_REF: dockcross/dockcross commit from which this image is built
* VCS_URL: this repository obtained reading remote.origin.url
* BUILD_DATE: Date and time when the build was initiated

Then, within the Dockerfile, the metadata are associated with the image
using the "LABEL" instruction.
See https://docs.docker.com/engine/reference/builder/#/label

The corresponding labels can be found here:
http://label-schema.org/rc1/#build-time-labels

See #28
2016-10-30 23:57:04 -04:00
Matt McCormick
80993ad985 windows-x{64,86}: Bump MXE to 2016-10-25 2016-10-26 17:12:50 -04:00
Matt McCormick
60cd0e4678 windows-x64: Bump MXE to 2016-07-21 2016-07-22 08:49:41 -04:00
Jean-Christophe Fillion-Robin
96f3514bf2 Dockerfiles: Rename working directory from "/build" to "/work"
Since the directory will contain both sources and build, this commit
generalizes its name.
2016-07-16 01:12:58 -04:00
Matt McCormick
04c7d0de18 Rename project and repository to dockcross 2016-07-15 23:46:08 -04:00
Matt McCormick
d5c20e773a Extend httpredir workaround to all images
Difficulty was also experienced with the base image
2016-07-15 15:54:32 -04:00
Matt McCormick
962a1ecb11 windows-x86: Replace Debian sources URL's
"Error reading from server", "connection lost" error occur. Use workaround of
using a specific debian mirror as suggested here:

  https://stackoverflow.com/questions/32304631/docker-debian-apt-error-reading-from-server
2016-07-10 01:19:09 -04:00
Matt McCormick
fdb18671e3 dockcross: make the default image specific to each compiler 2016-07-04 00:10:36 -04:00
Matt McCormick
ffddb75231 windows-x64: Add environmental variables. 2016-04-12 21:23:08 -04:00
Matt McCormick
a27a0098b4 windows-x64: Update to master 2016-04-09.
Add new required dependencies.
2016-04-11 23:59:12 -04:00
Matt McCormick
f14d99c661 windows-x64: Migrate to MXE. 2015-05-06 00:08:21 -04:00
Steeve Morin
703053871c
Use base image, add Makefile, compress RUN statements to save on disk space
Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
2014-10-17 13:42:56 +02:00
Steeve Morin
2b82f22e0b First commit 2014-10-12 13:21:43 +02:00