Skip to content

Instantly share code, notes, and snippets.

@vane
Created October 23, 2018 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vane/2138a1ac4ca569e4c871411a9e1fa4b8 to your computer and use it in GitHub Desktop.
Save vane/2138a1ac4ca569e4c871411a9e1fa4b8 to your computer and use it in GitHub Desktop.
Dockerfile alpine linux pysvn
FROM python:2.7-alpine
RUN apk add --no-cache subversion
RUN apk add --no-cache subversion-dev
RUN apk add --no-cache py-subversion
RUN apk add --no-cache apr-util-dev
RUN wget http://tigris.org/files/documents/1233/49465/pysvn-1.8.0.tar.gz
RUN tar -zxvf pysvn-1.8.0.tar.gz && cd pysvn-1.8.0 && python setup.py install; exit 0
RUN ln -s /pysvn-1.8.0/Source/pysvn /usr/local/lib/python2.7/site-packages/pysvn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment