Commit Graph

23 Commits

Author SHA1 Message Date
Paolo Bosetti
0d31400b97 Support for building images locally 2022-12-16 16:07:56 +01:00
9f3cbd5a17 Add tbb
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-24 19:29:02 +02:00
f888b7de0b Replace deprecated label 'MAINTAINER' by 'LABEL maintainer'
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-04 12:51:28 +02:00
Jean-Christophe Fillion-Robin
68b4549a50 Introduce "common.label-and-env"
This will simply the removal of deprecated "org.label-schema" annotation [1]
and the introduction of open containers ones [2]

[1] http://label-schema.org/rc1/
[2] https://github.com/opencontainers/image-spec/blob/master/annotations.md
2021-04-18 19:15:26 +02:00
Jean-Christophe Fillion-Robin
1fb2785377 Rename Dockerfile to Dockerfile.in to ensure consistency
All Dockerfiles are now configured similarly, this will support
future improvements.
2021-04-18 19:15:26 +02:00
Jean-Christophe Fillion-Robin
369d828efd Dockerfile: Remove unused default value associated IMAGE build argument 2021-04-18 19:15:26 +02:00
Brandon Ros
292e50c22b
libssl-dev 2020-05-31 23:55:51 -04:00
Brandon Ros
875b4014d1
add apt-get clean 2020-05-31 23:44:47 -04:00
Brandon Ros
658fbfa987
linux-x64: install libelf-dev 2020-05-31 23:42:51 -04:00
Matt McCormick
c96cbdc956
versioning: Set DEFAULT_DOCKCROSS_IMAGE based on the image tag
This ensures that the dockcross script will continue to use the specific
tagged version of the image that generates it.
2019-01-16 23:25:52 -05: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
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
ed7872edee
[many]linux-(x86|x64)/: toolchain: Fix ASM compiler
Similarly to the linux-x86 toolchain, gcc is used to compile assembler
file.
2016-11-19 22:30:33 -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
f07ca0043c base: Do not add -i -t flags to run command by default
Allow the dockcross script to be used in scripts where a tty is not available.
2016-08-31 22:31:58 -04:00
Matt McCormick
b148e1ce23 linux-x64: Add CMAKE_TOOLCHAIN_FILE 2016-07-22 08:49:41 -04:00
Matt McCormick
04c7d0de18 Rename project and repository to dockcross 2016-07-15 23:46:08 -04:00
Matt McCormick
fdb18671e3 dockcross: make the default image specific to each compiler 2016-07-04 00:10:36 -04:00
Matt McCormick
d290428a42 linux-x64: Update to thewtex/cross-compiler-base as base. 2016-03-28 12:45:57 -04:00
Steeve Morin
6daa79eab3
Add strip and objdump to the cross tools
Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
2014-11-13 19:05:41 +01:00
Steeve Morin
08a10c3137
[linux] use g++ as c++
Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
2014-11-05 23:40:15 +01:00
Steeve Morin
ff2d529eb5
[linux] Update images to ensure proper triples
Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
2014-11-05 23:10:24 +01: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