fixed sed re bug

This commit is contained in:
Jeffrey Paul 2016-08-18 11:50:03 +02:00
parent 9b0564f0f0
commit 0bbc30bb60
Signed by: sneak
GPG Key ID: 052443F4DF2A55C2

View File

@ -4,8 +4,9 @@ ENV BITCOIND_REV master
ARG UBUNTU_MIRROR=mirror://mirrors.ubuntu.com/mirrors.txt
RUN sed -i -e s#http://archive.ubuntu.com/ubuntu#${UBUNTU_MIRROR}#g \
-e s#http://security.ubuntu.com/ubuntu#${UBUNTU_MIRROR}#g \
RUN sed -i \
-e s#http://archive.ubuntu.com/ubuntu/#${UBUNTU_MIRROR}#g \
-e s#http://security.ubuntu.com/ubuntu/#${UBUNTU_MIRROR}#g \
/etc/apt/sources.list ; \
cat /etc/apt/sources.list