We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49b1342 commit f0af535Copy full SHA for f0af535
pdf2txt/alpine/Dockerfile
@@ -0,0 +1,12 @@
1
+FROM alpine:3.2
2
+
3
+RUN apk update && apk add python git && \
4
+ git clone https://github.com/euske/pdfminer.git && \
5
+ cd /pdfminer && \
6
+ python setup.py install && \
7
+ cd / && \
8
+ apk del git && \
9
+ rm -rf /var/cache/apk/* && \
10
+ rm -rf /pdfminer
11
12
+ENTRYPOINT ["pdf2txt.py"]
pdf2txt/alpine/README.md
@@ -0,0 +1,8 @@
+## convert pdf to plain text file
+Suppose you have a pdf file named `sample.pdf` in your current folder.
+```
+docker pull bwits/pdf2txt
+docker run -ti --rm -v $(pwd):/app pdf2txt /app/sample.pdf > sample.txt
+You will get the txt file named `sample.txt` in your current folder.
0 commit comments