diff --git a/llamaindex/Dockerfile b/llamaindex/Dockerfile index da4153a..b81f3bc 100644 --- a/llamaindex/Dockerfile +++ b/llamaindex/Dockerfile @@ -1,5 +1,5 @@ ARG BASE_IMAGE_TAG=latest -FROM b08x/notebook-datascience:$BASE_IMAGE_TAG +FROM b08x/notebook-minimal:$BASE_IMAGE_TAG LABEL maintainer="Robert Pannick " diff --git a/llamaindex/Gemfile b/llamaindex/Gemfile index dcd2167..0c0b6d2 100644 --- a/llamaindex/Gemfile +++ b/llamaindex/Gemfile @@ -68,11 +68,11 @@ gem 'charty', '>= 0.2.12' gem 'matplotlib', '>= 1.2.0' gem 'numpy', '>= 0.4.0' gem 'pandas', '>= 0.3.8' -gem 'red_amber', '0.4.2' -gem 'red-arrow', '11.0.0' -gem 'red-datasets', '>= 0.1.4' -gem 'red-gandiva', '11.0.0' -gem 'red-parquet', '11.0.0' +# gem 'red_amber', '0.4.2' +# gem 'red-arrow', '11.0.0' +# gem 'red-datasets', '>= 0.1.4' +# gem 'red-gandiva', '11.0.0' +# gem 'red-parquet', '11.0.0' gem 'unicode_plot', '>= 0.0.5' # Additional gems @@ -85,10 +85,10 @@ gem 'nmatrix-lapacke' gem 'numo-linalg' gem 'numo-narray' gem 'rbplotly' -gem 'red-arrow-numo-narray' -gem 'red-chainer' -gem 'red-datasets-arrow' -gem 'red-datasets-daru' -gem 'red-datasets-pandas' -gem 'red-plasma' +# gem 'red-arrow-numo-narray' +# gem 'red-chainer' +# gem 'red-datasets-arrow' +# gem 'red-datasets-daru' +# gem 'red-datasets-pandas' +# gem 'red-plasma' gem 'rumale' diff --git a/minimal/Dockerfile b/minimal/Dockerfile index 51bd166..c189de2 100644 --- a/minimal/Dockerfile +++ b/minimal/Dockerfile @@ -13,6 +13,14 @@ RUN usermod -a -G sudo $NB_USER && usermod -a -G $GROUP_ID $NB_USER RUN echo "$NB_USER ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/99-$NB_USER && chmod 0440 /etc/sudoers.d/99-$NB_USER +# Pre-requisites +RUN echo 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal main' >> /etc/apt/sources.list && \ + echo 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-11 main' >> /etc/apt/sources.list && \ + wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|apt-key add - && \ + apt-get update -qq && \ + apt-get autoremove -y && \ + rm -rf /var/lib/apt/lists/* + # Pre-requisites RUN apt-get update && apt-get install -y -V --no-install-recommends \ apt-transport-https gnupg lsb-release apt-utils \ diff --git a/nlp/Dockerfile b/nlp/Dockerfile index f0b851b..5941606 100644 --- a/nlp/Dockerfile +++ b/nlp/Dockerfile @@ -1,5 +1,5 @@ ARG BASE_IMAGE_TAG=latest -FROM b08x/notebook-datascience:$BASE_IMAGE_TAG +FROM b08x/notebook-minimal:$BASE_IMAGE_TAG LABEL maintainer="Robert Pannick " @@ -19,6 +19,7 @@ RUN apt update -qq && \ tesseract-ocr \ ghostscript \ poppler-utils \ + libgirepository1.0-dev \ libreoffice \ graphviz && \ apt-get autoremove -y && \ diff --git a/nlp/Gemfile b/nlp/Gemfile index b2e82da..ea31519 100644 --- a/nlp/Gemfile +++ b/nlp/Gemfile @@ -68,11 +68,11 @@ gem 'charty', '>= 0.2.12' gem 'matplotlib', '>= 1.2.0' gem 'numpy', '>= 0.4.0' gem 'pandas', '>= 0.3.8' -gem 'red_amber', '0.4.2' -gem 'red-arrow', '11.0.0' -gem 'red-datasets', '>= 0.1.4' -gem 'red-gandiva', '11.0.0' -gem 'red-parquet', '11.0.0' +# gem 'red_amber', '0.4.2' +# gem 'red-arrow', '11.0.0' +# gem 'red-datasets', '>= 0.1.4' +# gem 'red-gandiva', '11.0.0' +# gem 'red-parquet', '11.0.0' gem 'unicode_plot', '>= 0.0.5' # Additional gems @@ -82,12 +82,12 @@ gem 'enumerable-statistics' gem 'ffi-rzmq' gem 'numo-linalg' gem 'numo-narray' -gem 'red-arrow-numo-narray' -gem 'red-chainer' -gem 'red-datasets-arrow' -gem 'red-datasets-daru' -gem 'red-datasets-pandas' -gem 'red-plasma' +# gem 'red-arrow-numo-narray' +# gem 'red-chainer' +# gem 'red-datasets-arrow' +# gem 'red-datasets-daru' +# gem 'red-datasets-pandas' +# gem 'red-plasma' gem 'rumale'