Fix issue with not missing -y flag for apt

This commit is contained in:
Knut Ahlers 2015-01-01 23:04:03 +01:00
parent fb1916117f
commit c933fe3423

View file

@ -1,7 +1,7 @@
FROM jenkins FROM jenkins
USER root USER root
RUN bash -c "if ! [ -e /usr/lib/apt/methods/https ]; then apt-get update && apt-get install apt-transport-https; fi" RUN bash -c "if ! [ -e /usr/lib/apt/methods/https ]; then apt-get update && apt-get install -y apt-transport-https; fi"
RUN \ RUN \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 && \ apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 && \