added adduser
command to Jupyter Python image
Some checks failed
CI / Build Jupyter python Docker images (push) Failing after 42s
Some checks failed
CI / Build Jupyter python Docker images (push) Failing after 42s
This commit is contained in:
@@ -2,7 +2,7 @@ FROM debian:stable AS build
|
|||||||
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||||
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
||||||
apt update &&\
|
apt update &&\
|
||||||
apt install -y python3 python3-dev pipx gcc g++ libffi-dev cargo cmake autoconf swig ninja-build patchelf meson python3-faiss
|
apt install -y python3 python3-dev pipx gcc g++ libffi-dev cargo cmake autoconf swig ninja-build patchelf meson python3-faiss adduser
|
||||||
RUN adduser -u 1000 --system --shell /bin/sh --home /home/jovyan jovyan
|
RUN adduser -u 1000 --system --shell /bin/sh --home /home/jovyan jovyan
|
||||||
USER jovyan
|
USER jovyan
|
||||||
WORKDIR /home/jovyan
|
WORKDIR /home/jovyan
|
||||||
|
Reference in New Issue
Block a user