From 17150392857625a49123ad686c7fb8a7a379baa5 Mon Sep 17 00:00:00 2001 From: anthonyraymond Date: Tue, 14 Mar 2017 23:58:13 +0100 Subject: [PATCH 1/3] [Dockerfile] Update to aria2 from 1.30.0 to 1.31.0 for arm distribution --- rpi-Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpi-Dockerfile b/rpi-Dockerfile index a4d3f8c..0bc525d 100644 --- a/rpi-Dockerfile +++ b/rpi-Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update \ && apt-get install -y busybox curl \ git \ make g++ libssl-dev nettle-dev libgmp-dev libssh2-1-dev libc-ares-dev libxml2-dev zlib1g-dev libsqlite3-dev pkg-config libxml2-dev libcppunit-dev autoconf automake autotools-dev autopoint libtool \ - && ARIA2_VERSION="1.30.0" \ + && ARIA2_VERSION="1.31.0" \ && mkdir aria_build && cd aria_build \ && curl -L https://github.com/aria2/aria2/releases/download/release-"$ARIA2_VERSION"/aria2-"$ARIA2_VERSION".tar.gz > aria2.tar.gz \ && tar -xzf aria2.tar.gz \ From b2c994eb155f84d04b1980d3f8ade6ed89c03f55 Mon Sep 17 00:00:00 2001 From: anthonyraymond Date: Wed, 15 Mar 2017 00:02:56 +0100 Subject: [PATCH 2/3] [Dockerfile] Update golang from 1.6.1 to 1.8 for arm distribution --- rpi-Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpi-Dockerfile b/rpi-Dockerfile index 0bc525d..4f05924 100644 --- a/rpi-Dockerfile +++ b/rpi-Dockerfile @@ -30,7 +30,7 @@ RUN GITHUB_REPO="https://github.com/tianon/gosu" \ && chmod +x /usr/local/bin/gosu # goland install (compile source code for ARM since no version are currently available) -RUN curl -L "https://storage.googleapis.com/golang/go1.6.1.linux-armv6l.tar.gz" > go.tar.gz \ +RUN curl -L "https://storage.googleapis.com/golang/go1.8.linux-armv6l.tar.gz" > go.tar.gz \ && tar -xzf go.tar.gz -C /usr/local \ && export GOROOT="/usr/local/go" && export GOPATH=`pwd` \ && $GOROOT/bin/go get github.com/mattn/goreman && $GOROOT/bin/go build -o /usr/local/bin/goreman github.com/mattn/goreman \ From e54b454a0a4d7015d9c44f11f174347b042bda78 Mon Sep 17 00:00:00 2001 From: anthonyraymond Date: Wed, 15 Mar 2017 00:09:50 +0100 Subject: [PATCH 3/3] [Dockerfile] Rename arm dockerfile --- rpi-Dockerfile => Dockerfile.arm | 0 README.md | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename rpi-Dockerfile => Dockerfile.arm (100%) diff --git a/rpi-Dockerfile b/Dockerfile.arm similarity index 100% rename from rpi-Dockerfile rename to Dockerfile.arm diff --git a/README.md b/README.md index 739c9db..403a533 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ This image contains both aria2 and webui-aria2. Build it (may take several hours due to the aria2 compilation process. Don't panic and grap a coffee) ``` -docker build -f rpi-Dockerfile -t yourname/webui-aria2 . +docker build -f Dockerfile.arm -t yourname/webui-aria2 . ``` Prepare the host volume: This image required few file to be mounted in the container's `/data` folder.