summaryrefslogtreecommitdiff
path: root/Dockerfile.build-fedora
AgeCommit message (Collapse)AuthorFilesLines
2019-10-30Dockerfile: Use Fedora 31Arkadiusz Hiler1-1/+5
Update to the newest version. Python 3 is now the default one, so we can drop the suffix from pip invocation and we have to install it explicitly. Cc: Petri Latvala <petri.latvala@intel.com> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
2019-09-17meson: Bump required version to 0.47.2Arkadiusz Hiler1-1/+1
Any distribution that decided to go with 0.47 should also pack the latest point release. For us 0.47.2 is important because it fixes the weird issues with using a 'feature' option as a dependency()'s 'required' parameter, e.g.: option('oping', type : 'feature', description : 'Build test runner with liboping for pinging support') liboping = dependency('liboping', required: get_option('oping')) With liboping not installed and oping option having the default "auto" value this should execute just fine and liboping.found() should == false, but instead we get "ERROR: Native dependency 'liboping' not found". That behavior is fixed with 0.47.2. Cc: Petri Latvala <petri.latvala@intel.com> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
2019-09-03Dockerfile: Clean package manager caches and squash imagesArkadiusz Hiler1-0/+2
To save some space and bandwidth. Without --squash the caches would get cleaned up only from the last layer which would save us nothing. Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
2019-09-03Dockerfile: Avoid messing with WORKDIRArkadiusz Hiler1-9/+5
Just to reset it soon after. Let's just `cd` for each command. Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
2019-08-30Dockerfile: Avoid touching external resourcesArkadiusz Hiler1-0/+3
Let's install all the necessary things in the build-* images, so we don't touch/hammer external servers each time there is a small change in IGT. We have already seen this failing: Error: Error downloading packages: Status code: 503 for https://mirrors.fedoraproject.org/metalink?repo=fedora-30&arch=x86_64 The command '/bin/sh -c dnf install -y findutils && dnf clean all' returned a non-zero code: 1 Cc: Oleg Vasilev <oleg.vasilev@intel.com> Cc: Petri Latvala <petri.latvala@intel.com> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
2019-08-29gitlab-ci: rename DockerfilesOleg Vasilev1-0/+45
Dockerfile.build-* is consistent with build-* naming. Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Signed-off-by: Oleg Vasilev <oleg.vasilev@intel.com>