Commit Graph

20 Commits

Author SHA1 Message Date
Francois Budin
856ef6016e BUG: Remove cpack symbolic link before creating the new link 2018-04-13 15:01:54 -04: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
1620453675 windows-x86: 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
aab9632ab6 windows-x86: Add --force-yes
For

E: There are problems and -y was used without --force-yes

on CircleCI.
2016-07-05 21:45:56 -04:00
Matt McCormick
fdb18671e3 dockcross: make the default image specific to each compiler 2016-07-04 00:10:36 -04:00
Matt McCormick
f3be2be983 windows-x86: Add environmental variables. 2016-04-16 21:36:04 -04:00
Matt McCormick
344b514327 windows-x86: Update to master 2016-04-09. 2016-04-16 21:34:30 -04:00
Matt McCormick
f14d99c661 windows-x64: Migrate to MXE. 2015-05-06 00:08:21 -04:00
Matt McCormick
b9217e3d11 windows-x86: Use older mingw-w64 based off GCC 4.9.2 instead of 5.1.0. 2015-05-05 01:32:42 -04:00
Matt McCormick
58047c2f20 windows-x86: Set up wine.
We need additional packages for 32-bit wine and we need to make an initial
call to wine to set up ~/.wine.
2015-05-05 01:04:50 -04:00
Matt McCormick
760e5acfa6 The windows-x86 is now from MXE.
See http://mxe.cc
2015-05-04 17:32:58 -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