[IMP] Add 'set -x' to long command chains

This commit is contained in:
Mike Dillon 2015-03-07 21:41:31 -08:00 committed by Samus CTO
parent aff73bfda4
commit 9228300c52

View File

@ -2,8 +2,9 @@ FROM debian:jessie
MAINTAINER Odoo S.A. <info@odoo.com> MAINTAINER Odoo S.A. <info@odoo.com>
# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf # Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
RUN apt-get update \ RUN set -x; \
&& apt-get install -y \ apt-get update \
&& apt-get install -y \
adduser \ adduser \
ca-certificates \ ca-certificates \
curl \ curl \
@ -21,7 +22,8 @@ RUN apt-get update \
# Install Odoo # Install Odoo
ENV ODOO_VERSION 8.0 ENV ODOO_VERSION 8.0
ENV ODOO_RELEASE 20150303 ENV ODOO_RELEASE 20150303
RUN curl -o odoo.deb -SL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \ RUN set -x; \
curl -o odoo.deb -SL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
&& dpkg --force-depends -i odoo.deb \ && dpkg --force-depends -i odoo.deb \
&& apt-get update \ && apt-get update \
&& apt-get -y install -f --no-install-recommends \ && apt-get -y install -f --no-install-recommends \