aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislusf <chris.lu@gmail.com>2014-10-14 17:29:23 -0700
committerchrislusf <chris.lu@gmail.com>2014-10-14 17:29:23 -0700
commitcbaaf1b539335b19278dad9baa2435f2100a29a5 (patch)
tree60909af626d988a17af9abd3895788050bccd8b8
parent88e7c98e6eed145a4101e4a18e899e8afee21278 (diff)
downloadseaweedfs-cbaaf1b539335b19278dad9baa2435f2100a29a5.tar.xz
seaweedfs-cbaaf1b539335b19278dad9baa2435f2100a29a5.zip
Update Dockerfile
revert back to original version to keep documentation consistent.
-rw-r--r--Dockerfile16
1 files changed, 3 insertions, 13 deletions
diff --git a/Dockerfile b/Dockerfile
index 7332f660a..1243727a2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,16 +1,6 @@
-# install docker
-# sudo docker build -t seaweed .
-# docker run seaweed
-
-FROM golang
-
-# Copy the local package files to the container's workspace.
-ADD . /go/src/github.com/chrislusf/weed-fs
-
-# Build the weed command inside the container.
-RUN go get github.com/chrislusf/weed-fs/go/weed
-
+FROM cydev/go
+RUN go get code.google.com/p/weed-fs/go/weed
EXPOSE 8080
EXPOSE 9333
VOLUME /data
-ENTRYPOINT ["/go/bin/weed"] \ No newline at end of file
+ENTRYPOINT ["weed"]