-
Notifications
You must be signed in to change notification settings - Fork 475
SC2046
Ye Wang edited this page Aug 18, 2016
·
1 revision
FROM debian:jessie
MAINTAINER Ye Wang <ye@users.noreply.github.com>
RUN echo index-url = http://$(netstat -nr | grep '^0\.0\.0\.0' | awk '{print $2}'):3141/root/pypi/ >> /root/.pip/pip.conf
FROM debian:jessie
MAINTAINER Ye Wang <ye@users.noreply.github.com>
RUN echo "index-url = http://$(netstat -nr | grep '^0\.0\.0\.0' | awk '{print $2}'):3141/root/pypi/" >> /root/.pip/pip.conf
Quote the echo output which has another command's output that may contain white spaces to cause word splitting.