daily pastebin goal
34%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FROM alpine:3.9
  2.  
  3. RUN mkdir -p /opt/ && \
  4.     mkdir -p /etc/sphinx && \
  5.     mkdir -p /var/lib/sphinx/log && \
  6.     mkdir -p /var/lib/sphinxsearch/data && \
  7.     mkdir -p /usr/local/var/data
  8.  
  9. RUN wget http://sphinxsearch.com/files/sphinx-3.1.1-612d99f-linux-amd64-musl.tar.gz && \
  10.     tar -xvf sphinx-3.1.1-612d99f-linux-amd64-musl.tar.gz && \
  11.     mv /sphinx-3.1.1/ /opt/sphinx
  12.  
  13. RUN ln -s "/opt/sphinx/bin/searchd" "/usr/bin/searchd" && \
  14.     ln -s  "/opt/sphinx/bin/indexer" "/usr/bin/indexer" &&  \
  15.     ln -s "/opt/sphinx/bin/indextool" "/usr/bin/indextool" && \
  16.     ln -s  "/opt/sphinx/bin/wordbreaker" "/usr/bin/wordbreaker"
  17.  
  18. RUN apk --no-cache add --update mariadb-dev
  19.  
  20. COPY /filesystem /
  21.  
  22. EXPOSE 9306 9312
  23.  
  24. CMD ["sh", "cmd.sh"]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top