Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated repo URLs, added Flashpoint, updated requirements #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 35 additions & 34 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,54 +3,55 @@ ARG PY_VER="3.10.13-bookworm"
FROM docker.io/library/python:$PY_VER as base_image

RUN apt-get update \
&& apt-get install -qqy \
build-essential \
unixodbc unixodbc-dev \
freetds-dev freetds-bin \
tdsodbc \
tesseract-ocr \
ffmpeg libsm6 libxext6 \
gnutls-bin \
&& apt-get autoremove -qqy \
&& apt-get autoclean \
&& rm -rf /var/lib/apt/lists/*
&& apt-get install -qqy \
build-essential \
unixodbc unixodbc-dev \
freetds-dev freetds-bin \
tdsodbc \
tesseract-ocr \
ffmpeg libsm6 libxext6 \
gnutls-bin \
&& apt-get autoremove -qqy \
&& apt-get autoclean \
&& rm -rf /var/lib/apt/lists/*

RUN echo "[FreeTDS]\n\
Description = FreeTDS unixODBC Driver\n\
Driver = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so\n\
Setup = /usr/lib/x86_64-linux-gnu/odbc/libtdsS.so" >> /etc/odbcinst.ini
Description = FreeTDS unixODBC Driver\n\
Driver = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so\n\
Setup = /usr/lib/x86_64-linux-gnu/odbc/libtdsS.so" >> /etc/odbcinst.ini

COPY requirements.txt /tmp/requirements.txt
RUN pip install --trusted-host pypi.python.org -r /tmp/requirements.txt

FROM base_image

LABEL org.opencontainers.image.authors = "John Omernik <[email protected]>" \
org.opencontainers.image.source = "https://github.com/JohnOmernik/jupyter_integration_base" \
org.opencontainers.image.source = "https://github.com/PitterPatterPython/jupyter_integration_base" \
org.opencontainers.image.licenses = "Apache 2.0"

RUN ipython profile create && jupyter lab --generate-config \
&& sed -i "s/# c.ServerApp.iopub_data_rate_limit = 1000000/c.ServerApp.iopub_data_rate_limit = 1000000000/g" $HOME/.jupyter/jupyter_lab_config.py
&& sed -i "s/# c.ServerApp.iopub_data_rate_limit = 1000000/c.ServerApp.iopub_data_rate_limit = 1000000000/g" $HOME/.jupyter/jupyter_lab_config.py

# Recursive dependency?
RUN pip install git+https://github.com/johnomernik/jupyter_integration_base

RUN pip install git+https://github.com/johnomernik/jupyter_splunk
RUN pip install git+https://github.com/johnomernik/jupyter_taxii
RUN pip install git+https://github.com/johnomernik/jupyter_pyodbc
RUN pip install git+https://github.com/johnomernik/jupyter_drill
RUN pip install git+https://github.com/johnomernik/jupyter_tera
RUN pip install git+https://github.com/johnomernik/jupyter_hive
RUN pip install git+https://github.com/johnomernik/jupyter_impala
RUN pip install git+https://github.com/johnomernik/jupyter_oracle
RUN pip install git+https://github.com/johnomernik/jupyter_mssql
RUN pip install git+https://github.com/johnomernik/jupyter_es
RUN pip install git+https://github.com/johnomernik/jupyter_mysql
RUN pip install git+https://github.com/johnomernik/jupyter_dummy
RUN pip install git+https://github.com/johnomernik/jupyter_dtools
RUN pip install git+https://github.com/finleyh/jupyter_urlscan
RUN pip install git+https://github.com/johnomernik/jupyter_mongo
RUN pip install git+https://github.com/johnomernik/qgrid
RUN pip install git+https://github.com/PitterPatterPython/jupyter_integration_base

RUN pip install git+https://github.com/PitterPatterPython/jupyter_drill
RUN pip install git+https://github.com/PitterPatterPython/jupyter_dtools
RUN pip install git+https://github.com/PitterPatterPython/jupyter_dummy
RUN pip install git+https://github.com/PitterPatterPython/jupyter_es
RUN pip install git+https://github.com/PitterPatterPython/jupyter_flashpoint
RUN pip install git+https://github.com/PitterPatterPython/jupyter_hive
RUN pip install git+https://github.com/PitterPatterPython/jupyter_impala
RUN pip install git+https://github.com/PitterPatterPython/jupyter_mongo
RUN pip install git+https://github.com/PitterPatterPython/jupyter_mssql
RUN pip install git+https://github.com/PitterPatterPython/jupyter_mysql
RUN pip install git+https://github.com/PitterPatterPython/jupyter_oracle
RUN pip install git+https://github.com/PitterPatterPython/jupyter_pyodbc
RUN pip install git+https://github.com/PitterPatterPython/jupyter_splunk
RUN pip install git+https://github.com/PitterPatterPython/jupyter_taxii
RUN pip install git+https://github.com/PitterPatterPython/jupyter_tera
RUN pip install git+https://github.com/PitterPatterPython/jupyter_urlscan
RUN pip install git+https://github.com/PitterPatterPython/qgrid

ADD entrypoint.sh /tmp/entrypoint.sh

Expand Down
2 changes: 2 additions & 0 deletions docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ defusedxml
deprecation
domaintools_api
elasticsearch==7.15.1
emoji
entrypoints
et-xmlfile
fake-useragent
Expand Down Expand Up @@ -73,6 +74,7 @@ jedi
jira
joblib
json5
jsonpath-ng
jsonschema
jupyter-client
jupyter-core
Expand Down