We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 265ef32 commit 518c3d8Copy full SHA for 518c3d8
Dockerfile
@@ -5,10 +5,18 @@ FROM quay.io/unstructured-io/base-images:wolfi-py3.12-slim-latest as base
5
# https://mybinder.readthedocs.io/en/latest/tutorials/dockerfile.html
6
ARG NB_USER=notebook-user
7
ARG NB_UID=1000
8
+ARG NB_GID=100
9
ARG PIP_VERSION
10
ARG PIPELINE_PACKAGE
11
ARG PYTHON_VERSION="3.12"
12
13
+USER root
14
+
15
+RUN chown -R ${NB_USER}:${NB_GID} ${HOME}
16
+RUN apk add --no-cache shadow
17
+RUN useradd -m -u ${NB_UID} -g ${NB_GID} -s /bin/sh ${NB_USER}
18
19
20
# Set up environment
21
ENV PYTHON python${PYTHON_VERSION}
22
ENV PIP ${PYTHON} -m pip
0 commit comments