This commit is contained in:
commit
db82325ed7
216 files changed
+33718
No files matched your search
@@ -0,0 +1,10 @@
|
||||
ARG BASE_IMAGE=node:24-bookworm-slim
|
||||
FROM ${BASE_IMAGE}
|
||||
ARG DEBIAN_MIRROR=deb.debian.org
|
||||
RUN case "$DEBIAN_MIRROR" in deb.debian.org|mirrors.ustc.edu.cn) ;; *) exit 1 ;; esac && sed -i "s/deb.debian.org/$DEBIAN_MIRROR/g" /etc/apt/sources.list.d/debian.sources
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends python3 python3-pip python3-venv git ca-certificates curl && rm -rf /var/lib/apt/lists/*
|
||||
RUN groupadd -g 10001 workspace && useradd -u 10001 -g workspace -m workspace && mkdir /workspace && chown 10001:10001 /workspace
|
||||
USER 10001:10001
|
||||
WORKDIR /workspace
|
||||
ENV HOME=/workspace
|
||||
CMD ["python3","-c","import time; time.sleep(2147483647)"]
|
||||
Reference in new issue
Block a user