diff options
| author | Jesper Zedlitz <jze@informatik.uni-kiel.de> | 2016-09-08 09:19:06 +0200 |
|---|---|---|
| committer | Jesper Zedlitz <jze@informatik.uni-kiel.de> | 2016-09-08 09:19:06 +0200 |
| commit | 1c3670630682a330be460cc367509390c818712d (patch) | |
| tree | 82f896f2b2c08358a76b1122ecee24b0bc7196e6 /Dockerfile | |
| parent | 99e47fc5fcd5743324feda9498a699717761924d (diff) | |
| download | seaweedfs-1c3670630682a330be460cc367509390c818712d.tar.xz seaweedfs-1c3670630682a330be460cc367509390c818712d.zip | |
Changed Dockerfile so it uses a special entrypoint script. All parameters are passed through to weed. Depending on the command the entrypoint.sh script adds parameters to link containers.
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index e87538fdb..000000000 --- a/Dockerfile +++ /dev/null @@ -1,21 +0,0 @@ -FROM progrium/busybox - -WORKDIR /opt/weed - -RUN opkg-install curl -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 ./*/* ./bin && \ - chmod +x ./bin/weed - -EXPOSE 8080 -EXPOSE 9333 - -VOLUME /data - -ENV WEED_HOME /opt/weed -ENV PATH ${PATH}:${WEED_HOME}/bin - -ENTRYPOINT ["weed"] |
