We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52ba8ed commit 1dc62a1Copy full SHA for 1dc62a1
1 file changed
Dockerfile
@@ -1,11 +1,16 @@
1
# syntax=docker/dockerfile:experimental
2
-# FROM quay.io/unstructured-io/base-images:wolfi-base-latest as base
3
FROM cgr.dev/chainguard/python as base
4
5
# NOTE(crag): NB_USER ARG for mybinder.org compat:
6
# https://mybinder.readthedocs.io/en/latest/tutorials/dockerfile.html
7
ARG NB_USER=notebook-user
8
ARG NB_UID=1000
+
9
+# Create the user
10
+USER root
11
+RUN adduser -D -u ${NB_UID} ${NB_USER}
12
+ENV HOME=/home/${NB_USER}
13
14
ARG PIPELINE_PACKAGE
15
ARG PYTHON_VERSION="3.12"
16
0 commit comments