Skip to content

Commit

Permalink
Services&NiFi: updated Docker images to include Rust.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladd-bit committed Oct 6, 2023
1 parent 1ae92af commit 54b3d64
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
9 changes: 6 additions & 3 deletions nifi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,18 @@ RUN apt-add-repository restricted && \
add-apt-repository ppa:graphics-drivers/ppa && \
apt-get update && apt-get upgrade -y

RUN apt-get install -y postgresql-server-dev-14 postgresql-server-dev-all python3-dev python3-pip python3.10-full ssl-cert python3-psycopg2 --no-install-recommends
RUN apt-get install -y libsqlite3-dev postgresql-server-dev-14 postgresql-server-dev-all python3-dev python3-pip python3.10-full ssl-cert python3-psycopg2 --no-install-recommends

# install rust, medcat requirement
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# timezone setting
RUN apt-get install -y tzdata

RUN pip3 install --upgrade pip && \
pip3 install setuptools dvc flask GitPython elasticsearch opensearch-py neo4j eland --ignore-installed PyYAML && \
pip3 install pytesseract ipyparallel py7zr cython isort html2text jsoncsv simplejson detect wheel nltk keras bokeh seaborn matplotlib graphviz plotly tqdm && \
pip3 install pymssql mysql-connector-python cx-Oracle dataclasses numpy matplotlib pandas dill jsonpickle jsonext psycopg2-binary python-certifi-win32 certifi pyodbc openpyxl
pip3 install pymssql mysql-connector-python cx-Oracle dataclasses numpy matplotlib pandas dill jsonpickle jsonext psycopg2-binary python-certifi-win32 certifi pyodbc openpyxl sqlite3

# XNAT
RUN pip3 install xnat
Expand Down Expand Up @@ -104,7 +107,7 @@ RUN rm jython-installer-2.7.3.jar

RUN $JYTHON_HOME/bin/jython -m ensurepip
RUN $JYTHON_HOME/bin/jython -m pip install --upgrade pip
RUN $JYTHON_HOME/bin/jython -m pip install avro
RUN $JYTHON_HOME/bin/jython -m pip install avro pysqlite3

WORKDIR /opt/nifi/nifi-toolkit-current/

Expand Down
4 changes: 4 additions & 0 deletions services/jupyter-hub/Dockerfile_singleuser
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ RUN apt-get update && apt-get upgrade -y && \
gnupg \
ssl-cert \
libevent-dev \
libsqlite3-dev \
python3-dev \
python3.10-dev \
python3-all-dev \
Expand Down Expand Up @@ -115,6 +116,9 @@ RUN fix-permissions $CONDA_DIR && fix-permissions /home/$NB_USER
# deps for psycopg2
RUN apt-get install -y postgresql-server-dev-all --no-install-recommends

# install rust, medcat requirement
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# update pip and install basic utilities
RUN pip3 install --upgrade pip
RUN pip3 install setuptools wheel virtualenv
Expand Down
6 changes: 5 additions & 1 deletion services/jupyter-hub/Dockerfile_singleuser_gpu
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ RUN apt-get update && apt-get upgrade -y && \
apt-get install -y \
gnupg \
ssl-cert \
libsqlite3-dev \
libevent-dev \
python3-dev \
python3.10-dev \
Expand Down Expand Up @@ -135,7 +136,10 @@ RUN conda clean --all -f -y
RUN fix-permissions $CONDA_DIR && fix-permissions /home/$NB_USER

# deps for psycopg2
RUN apt-get install -y postgresql-server-dev-all --no-install-recommends
RUN apt-get install -y postgresql-server-dev-all --no-install-recommends

# install rust, medcat requirement
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

RUN pip3 install --upgrade pip
RUN pip3 install setuptools wheel virtualenv cython
Expand Down

0 comments on commit 54b3d64

Please sign in to comment.