Commit graph

9 commits

Author SHA1 Message Date
Matthew Waters
afab7cc48b docker: update android image container for ndk-21 2020-04-06 11:50:21 +10:00
Jordan Petridis
a99cdc8909 docker: allow to specify the branch to pull for various repos
Declare an docker build-arg [1] and use it
whenever cloning one of our repositories. If the buildarg
is not specified, the variable defaults back to 'master'
and thus the current behavior doesn't change.

From the .gitlab-ci.yml file, when building pass
the GST_UPSTREAM_BRANCH that's defined from the ci_template
as the buildarg so we will be building the corresponding branches
for the docker images.

Close #33

[1] https://docs.docker.com/engine/reference/builder/#arg
2020-03-08 18:53:23 +00:00
Jordan Petridis
65c18304c4 docker/fedora: upgrade base images to f31
All the images except the gst-build fedora image,
due to further changes being needed
2020-02-10 10:18:42 +00:00
Jordan Petridis
e1d7b721e0 docker: improve logging of the setup scripts 2019-09-23 10:54:40 +00:00
Matthew Waters
ef82e5a971 docker/android: cache gradle deps inside the docker image 2019-06-12 14:50:02 +10:00
Matthew Waters
497415544b docker: add android-specific image
pre-includes the NDK/SDK
2019-03-26 04:00:57 +00:00
Xavier Claessens
791757de6c Rename 'android' docker image back to 'ubuntu'
There is no point in doing a different docker image for each build we
are going to do inside an Ubuntu distro. We can later use the same image
for native ubuntu builds, or other cross builds (e.g. android API 21,
etc).
2018-12-13 17:08:16 +00:00
Xavier Claessens
f7331ab4f8 Move Android NDK to /opt
It was installed in '/' which doesn't feel right. Installing it in /root
is also not correct because we want to run the build as user instead of
root in the future and cleanup.sh removes everything in /root. /opt
seems the best place because that's also the default location when
installing Android Studio.
2018-12-13 17:08:16 +00:00
Jordan Petridis
f085d34a32
docker: Move android into a unified image 2018-11-27 16:07:57 +02:00