From 0f8d9cb14e73e563a20cf2ef722b09ba70acc2e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=8C=E6=96=87=E9=BE=99?= Date: Fri, 1 Jul 2022 07:13:22 +0000 Subject: [PATCH] add alpine rootless --- 3.15/rootless/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 3.15/rootless/Dockerfile diff --git a/3.15/rootless/Dockerfile b/3.15/rootless/Dockerfile new file mode 100644 index 0000000..0c2a4b1 --- /dev/null +++ b/3.15/rootless/Dockerfile @@ -0,0 +1,12 @@ +FROM alpine:3.15 + +RUN set -eu; \ + sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories; \ + apk add --no-cache tzdata \ + && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ + && echo "Asia/Shanghai" > /etc/timezone \ + && apk del tzdata; \ + addgroup -g 1000 fs \ + && adduser -u 1000 -G fs -s /bin/sh -D fs + +USER fs