From 3792cf2d9d52b37d18243257a4a4a11f808e760b Mon Sep 17 00:00:00 2001 From: Martin Strobel Date: Tue, 18 Dec 2018 15:46:04 -0800 Subject: [PATCH] Revert "Convert line-endings in generated bash scripts. (#8056)" (#8091) This reverts commit 8c89211372638a0106c4d961e91907dfa9b53c8d. --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ba7f379e1..410babe10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,7 +57,7 @@ RUN /bin/bash -c 'TMP_PKG_DIR=$(mktemp -d); \ all_modules=`find $TMP_PKG_DIR -name "*.whl"`; \ pip install --no-cache-dir $all_modules; \ pip install --no-cache-dir --force-reinstall --upgrade azure-nspkg azure-mgmt-nspkg;' \ - && cat /azure-cli/az.completion | dos2unix > ~/.bashrc \ + && cat /azure-cli/az.completion > ~/.bashrc \ && runDeps="$( \ scanelf --needed --nobanner --recursive /usr/local \ | awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' \ @@ -66,8 +66,7 @@ RUN /bin/bash -c 'TMP_PKG_DIR=$(mktemp -d); \ | sort -u \ )" \ && apk add --virtual .rundeps $runDeps \ - && apk del .build-deps \ - && cat /usr/local/bin/az | dos2unix > /usr/local/bin/az + && apk del .build-deps WORKDIR /