-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (24 loc) · 1.05 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM codelibs/python:3.7.7-bionic as python
FROM codelibs/fess:13.8.1
ENV LANG en_US.UTF-8
ENV PATH /usr/local/bin:$PATH
ENV LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH
ENV DEBIAN_FRONTEND noninteractive
ARG FIONE_VERSION=13.8.0
COPY --from=python /usr/local /usr/local
RUN apt-get update && apt-get install -y --no-install-recommends \
libbluetooth-dev \
tk-dev \
uuid-dev \
&& rm -rf /var/lib/apt/lists/*
RUN pip install Cython requests tabulate colorama future grip \
numpy scipy pandas gensim Pillow nltk beautifulsoup4 ipython \
jupyter scikit-learn \
http://h2o-release.s3.amazonaws.com/h2o/rel-zahradnik/6/Python/h2o-3.30.0.6-py2.py3-none-any.whl
ARG CACHEBUST=1
RUN set -x && \
curl -LfsSo /tmp/fione-${FIONE_VERSION}.deb \
https://github.com/codelibs/fione/releases/download/fione-${FIONE_VERSION}/fione-${FIONE_VERSION}.deb && \
dpkg -i /tmp/fione-${FIONE_VERSION}.deb && \
rm -rf /tmp/fione-${FIONE_VERSION}.deb && \
apt-get clean && rm -rf /var/lib/apt/lists/*