From a3c8235f867bb79214083e168912935c90b4fe4a Mon Sep 17 00:00:00 2001 From: ChengLei Shao Date: Wed, 10 Aug 2016 16:11:00 +0800 Subject: [PATCH] Make Docker build works correctly --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b2291c15f..e87538fdb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN echo tlsv1 >> ~/.curlrc RUN \ curl -Lks https://bintray.com$(curl -Lk http://bintray.com/chrislusf/seaweedfs/seaweedfs/_latestVersion | grep linux_amd64.tar.gz | sed -n "/href/ s/.*href=['\"]\([^'\"]*\)['\"].*/\1/gp") | gunzip | tar -xf - -C /opt/weed/ && \ - mkdir ./bin && mv weed_*/* ./bin && \ + mkdir ./bin && mv ./*/* ./bin && \ chmod +x ./bin/weed EXPOSE 8080