gitlab-ci: Add ccache to docker image, and leave in autotools
We're going to make use of these in build & test jobs.
(Cherry picked from commit 537f06e21e
)
This commit is contained in:
parent
61eccbcec9
commit
37ad8dd978
|
@ -13,7 +13,7 @@
|
||||||
# container registry, so that the image from the main repository's registry
|
# container registry, so that the image from the main repository's registry
|
||||||
# will be used there as well.
|
# will be used there as well.
|
||||||
variables:
|
variables:
|
||||||
IMAGE_TAG: "debian-testing-20181217"
|
IMAGE_TAG: "debian-testing-20190219"
|
||||||
IMAGE_LOCAL: "$CI_REGISTRY_IMAGE:$IMAGE_TAG"
|
IMAGE_LOCAL: "$CI_REGISTRY_IMAGE:$IMAGE_TAG"
|
||||||
IMAGE_MAIN: "registry.freedesktop.org/xorg/xserver:$IMAGE_TAG"
|
IMAGE_MAIN: "registry.freedesktop.org/xorg/xserver:$IMAGE_TAG"
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
|
||||||
chmod +x /usr/sbin/policy-rc.d && \
|
chmod +x /usr/sbin/policy-rc.d && \
|
||||||
echo 'deb-src https://deb.debian.org/debian testing main' >/etc/apt/sources.list.d/deb-src.list && \
|
echo 'deb-src https://deb.debian.org/debian testing main' >/etc/apt/sources.list.d/deb-src.list && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y meson git ca-certificates cmake automake autoconf libtool libwaffle-dev \
|
apt-get install -y meson git ca-certificates ccache cmake automake autoconf libtool libwaffle-dev \
|
||||||
libxkbcommon-dev python3-mako python3-numpy python3-six x11-utils x11-xserver-utils xauth xvfb && \
|
libxkbcommon-dev python3-mako python3-numpy python3-six x11-utils x11-xserver-utils xauth xvfb && \
|
||||||
apt-get build-dep -y xorg-server && \
|
apt-get build-dep -y xorg-server && \
|
||||||
\
|
\
|
||||||
|
@ -29,7 +29,7 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
|
||||||
echo '[xts]' > piglit/piglit.conf && echo 'path=/root/xts' >> piglit/piglit.conf && \
|
echo '[xts]' > piglit/piglit.conf && echo 'path=/root/xts' >> piglit/piglit.conf && \
|
||||||
find -name \*.a -o -name \*.o | xargs rm && \
|
find -name \*.a -o -name \*.o | xargs rm && \
|
||||||
\
|
\
|
||||||
apt-get purge -y git cmake automake autoconf libtool libwaffle-dev libxkbcommon-dev \
|
apt-get purge -y git cmake libwaffle-dev libxkbcommon-dev \
|
||||||
x11-utils x11-xserver-utils xauth xvfb && \
|
x11-utils x11-xserver-utils xauth xvfb && \
|
||||||
apt-get autoremove -y --purge && apt-get clean && \
|
apt-get autoremove -y --purge && apt-get clean && \
|
||||||
rm -f /var/lib/apt/lists/deb.debian.org_debian_dists_testing_*
|
rm -f /var/lib/apt/lists/deb.debian.org_debian_dists_testing_*
|
||||||
|
|
Loading…
Reference in New Issue