diff --git a/Dockerfile b/Dockerfile index 99f5d52..ef9ad7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,17 +8,6 @@ ARG STEEMD_REV=master ARG SECP256K1_REPO=https://github.com/bitcoin/secp256k1 ARG SECP256K1_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 \ - /etc/apt/sources.list ; \ - grep -v deb-src /etc/apt/sources.list > \ - /etc/apt/sources.list.new && \ - mv /etc/apt/sources.list.new /etc/apt/sources.list && \ - cat /etc/apt/sources.list - RUN \ apt-get update && \ apt-get install -y \ diff --git a/Makefile b/Makefile index 05c44bb..c12ac45 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,3 @@ -BUILD_ARGS := --build-arg UBUNTU_MIRROR="mirror://mirrors.ubuntu.com/mirrors.txt" -ifdef UBUNTU_MIRROR - BUILD_ARGS := --build-arg UBUNTU_MIRROR="$(UBUNTU_MIRROR)" -endif - default: build build: kill