mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-02 03:37:40 +02:00
add tabula
This commit is contained in:
parent
68d06a3038
commit
ff6e498e0e
@ -192,6 +192,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] phpvirtualbox-arm
|
- [x] phpvirtualbox-arm
|
||||||
- [x] piwik
|
- [x] piwik
|
||||||
- [x] revive
|
- [x] revive
|
||||||
|
- [x] tabula
|
||||||
- [x] tiddlywiki
|
- [x] tiddlywiki
|
||||||
- [x] zoneminder :+1:
|
- [x] zoneminder :+1:
|
||||||
|
|
||||||
|
27
tabula/Dockerfile
Normal file
27
tabula/Dockerfile
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for tabula
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM jruby:9.2-jdk
|
||||||
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
RUN apt-get update -qq && apt-get install -y build-essential curl \
|
||||||
|
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
RUN echo 'gem: --no-rdoc --no-ri' >> /.gemrc
|
||||||
|
|
||||||
|
ENV GEM_HOME=/usr/local/bundle
|
||||||
|
ENV PATH=$GEM_HOME/bin:$PATH
|
||||||
|
RUN gem install bundler -v '< 2' \
|
||||||
|
&& bundle config --global path "$GEM_HOME" \
|
||||||
|
&& bundle config --global bin "$GEM_HOME/bin"
|
||||||
|
|
||||||
|
# don't create ".bundle" in all our apps
|
||||||
|
ENV BUNDLE_APP_CONFIG=$GEM_HOME
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
# these didn't work as ONBUILD, strangely. Idk why. -JBM
|
||||||
|
RUN curl -sSL https://github.com/tabulapdf/tabula/archive/master.tar.gz | tar xz --strip 1
|
||||||
|
RUN bundle install && jruby -S jbundle install
|
||||||
|
|
||||||
|
EXPOSE 9292
|
||||||
|
CMD ["jruby", "-G", "-r", "jbundler", "-S", "rackup", "-o", "0.0.0.0", "config.ru"]
|
6
tabula/README.md
Normal file
6
tabula/README.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
tabula
|
||||||
|
======
|
||||||
|
|
||||||
|
[Tabula][1] is a tool for liberating data tables trapped inside PDF files.
|
||||||
|
|
||||||
|
[1]: http://tabula.technology/
|
7
tabula/docker-compose.yml
Normal file
7
tabula/docker-compose.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
tabula:
|
||||||
|
image: vimagick/tabula
|
||||||
|
ports:
|
||||||
|
- "9292:9292"
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user