aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authoryourchanges <yourchanges@gmail.com>2015-02-02 15:21:55 +0800
committeryourchanges <yourchanges@gmail.com>2015-02-02 15:21:55 +0800
commita2b1afce783dab0b281cf20c534e95178e62af63 (patch)
tree57a2b1aac0bfb48b53c76f977f47203b20aae902 /Dockerfile
parenta86042e413e4a702c09943e53fa06f358c179e06 (diff)
parent0e23ee4dce0f700f1aa0651bcce551336f428c85 (diff)
downloadseaweedfs-a2b1afce783dab0b281cf20c534e95178e62af63.tar.xz
seaweedfs-a2b1afce783dab0b281cf20c534e95178e62af63.zip
Merge pull request #4 from chrislusf/master
merge
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 00b958046..58688060f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,7 +7,7 @@ RUN echo insecure >> ~/.curlrc
RUN \
curl -Lks https://bintray.com$(curl -Lk http://bintray.com/chrislusf/Weed-FS/seaweed/_latestVersion | grep linux_amd64.tar.gz | sed -n "/href/ s/.*href=['\"]\([^'\"]*\)['\"].*/\1/gp") | gunzip | tar -xf - -C /opt/weed/ && \
- mv weed_* bin && \
+ mv weed_*/* /bin && \
chmod +x ./bin/weed
EXPOSE 8080
@@ -18,4 +18,4 @@ VOLUME /data
ENV WEED_HOME /opt/weed
ENV PATH ${PATH}:${WEED_HOME}/bin
-ENTRYPOINT ["weed"] \ No newline at end of file
+ENTRYPOINT ["weed"]