Skip to content
Snippets Groups Projects
Commit 9249eade authored by Christof Kaufmann's avatar Christof Kaufmann
Browse files

Install utils ping, htop, bpytop

parent f583d87b
Branches
No related tags found
1 merge request!36Update code-server, install utils
...@@ -9,9 +9,12 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] ...@@ -9,9 +9,12 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root USER root
# R pre-requisites
RUN apt-get update --yes && \ RUN apt-get update --yes && \
apt-get install --yes --no-install-recommends \ apt-get install --yes --no-install-recommends \
# general purpose utils
iputils-ping \
htop \
# R pre-requisites
fonts-dejavu \ fonts-dejavu \
unixodbc \ unixodbc \
unixodbc-dev \ unixodbc-dev \
...@@ -82,6 +85,8 @@ RUN wget --no-hsts -q -O vscode_cli.tar.gz 'https://code.visualstudio.com/sha/do ...@@ -82,6 +85,8 @@ RUN wget --no-hsts -q -O vscode_cli.tar.gz 'https://code.visualstudio.com/sha/do
# install some packages # install some packages
USER ${NB_UID} USER ${NB_UID}
RUN mamba install --yes \ RUN mamba install --yes \
# system monitor
'bpytop' \
# umap + hdbscan # umap + hdbscan
'umap-learn' \ 'umap-learn' \
'hdbscan' \ 'hdbscan' \
......
...@@ -9,6 +9,13 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] ...@@ -9,6 +9,13 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root USER root
# general purpose utils
RUN apt-get update --yes && \
apt-get install --yes --no-install-recommends \
iputils-ping \
htop && \
apt-get clean && rm -rf /var/lib/apt/lists/*
# install code-server and extensions # install code-server and extensions
ENV CODE_VERSION=4.95.3 ENV CODE_VERSION=4.95.3
RUN wget --no-hsts -q https://github.com/coder/code-server/releases/download/v$CODE_VERSION/code-server_${CODE_VERSION}_amd64.deb && \ RUN wget --no-hsts -q https://github.com/coder/code-server/releases/download/v$CODE_VERSION/code-server_${CODE_VERSION}_amd64.deb && \
...@@ -33,6 +40,8 @@ RUN wget --no-hsts -q -O vscode_cli.tar.gz 'https://code.visualstudio.com/sha/do ...@@ -33,6 +40,8 @@ RUN wget --no-hsts -q -O vscode_cli.tar.gz 'https://code.visualstudio.com/sha/do
# install some packages # install some packages
USER ${NB_UID} USER ${NB_UID}
RUN mamba install --yes \ RUN mamba install --yes \
# system monitor
'bpytop' \
# umap + hdbscan # umap + hdbscan
'umap-learn' \ 'umap-learn' \
'hdbscan' \ 'hdbscan' \
......
...@@ -9,6 +9,13 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] ...@@ -9,6 +9,13 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root USER root
# general purpose utils
RUN apt-get update --yes && \
apt-get install --yes --no-install-recommends \
iputils-ping \
htop && \
apt-get clean && rm -rf /var/lib/apt/lists/*
# install code-server and extensions # install code-server and extensions
ENV CODE_VERSION=4.95.3 ENV CODE_VERSION=4.95.3
RUN wget --no-hsts -q https://github.com/coder/code-server/releases/download/v$CODE_VERSION/code-server_${CODE_VERSION}_amd64.deb && \ RUN wget --no-hsts -q https://github.com/coder/code-server/releases/download/v$CODE_VERSION/code-server_${CODE_VERSION}_amd64.deb && \
...@@ -34,6 +41,8 @@ RUN wget --no-hsts -q -O vscode_cli.tar.gz 'https://code.visualstudio.com/sha/do ...@@ -34,6 +41,8 @@ RUN wget --no-hsts -q -O vscode_cli.tar.gz 'https://code.visualstudio.com/sha/do
# NOTE: without --no-update-deps somehow an undefined symbol error in /opt/conda/lib/python3.11/lib-dynload/_sqlite3.cpython-311-x86_64-linux-gnu.so occurs, which crashes jupyter lab. # NOTE: without --no-update-deps somehow an undefined symbol error in /opt/conda/lib/python3.11/lib-dynload/_sqlite3.cpython-311-x86_64-linux-gnu.so occurs, which crashes jupyter lab.
USER ${NB_UID} USER ${NB_UID}
RUN conda install --yes --no-update-deps \ RUN conda install --yes --no-update-deps \
# system monitor
'bpytop' \
# umap + hdbscan # umap + hdbscan
'umap-learn' \ 'umap-learn' \
'hdbscan' \ 'hdbscan' \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment