travis: ubuntu: install ca-certificates to make git clone work

This commit is contained in:
Michael Stapelberg 2016-05-24 20:21:08 +02:00
parent 8dbdcde9a6
commit a24a048cc9
2 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ RUN linux32 apt-get update && \
COPY debian/control /usr/src/i3-debian-packaging/control COPY debian/control /usr/src/i3-debian-packaging/control
RUN linux32 apt-get update && \ RUN linux32 apt-get update && \
sed -i '/^\s*libxcb-xrm-dev/d' /usr/src/i3-debian-packaging/control && \ sed -i '/^\s*libxcb-xrm-dev/d' /usr/src/i3-debian-packaging/control && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates && \
DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \ DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*

View File

@ -27,6 +27,7 @@ RUN apt-get update && \
COPY debian/control /usr/src/i3-debian-packaging/control COPY debian/control /usr/src/i3-debian-packaging/control
RUN apt-get update && \ RUN apt-get update && \
sed -i '/^\s*libxcb-xrm-dev/d' /usr/src/i3-debian-packaging/control && \ sed -i '/^\s*libxcb-xrm-dev/d' /usr/src/i3-debian-packaging/control && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates && \
DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \ DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*