You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
584 B

  1. FROM frolvlad/alpine-glibc:alpine-3.4
  2. RUN apk add --no-cache --virtual=build-dependencies --update curl wget ca-certificates && \
  3. wget -P /tmp https://github.com/$(curl -s -L https://github.com/chrislusf/seaweedfs/releases/latest | egrep -o '/chrislusf/seaweedfs/releases/download/.*/linux_amd64.tar.gz') && \
  4. tar -C /usr/bin/ -xzvf /tmp/linux_amd64.tar.gz && \
  5. apk del curl wget ca-certificates build-dependencies && \
  6. rm -rf /tmp/*
  7. EXPOSE 8080
  8. EXPOSE 9333
  9. VOLUME /data
  10. COPY entrypoint.sh /entrypoint.sh
  11. RUN chmod +x /entrypoint.sh
  12. ENTRYPOINT ["/entrypoint.sh"]